From b57bdbd76e80c74a3ea65b2adb536efc4bbf13b0 Mon Sep 17 00:00:00 2001 From: tjcrowder Date: Sat, 22 Aug 2009 12:54:30 +0100 Subject: [PATCH] doc: Fixed documentation error on Array#compact. [#295 state:resolved] --- src/lang/array.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lang/array.js b/src/lang/array.js index 8ab6865..3789389 100644 --- a/src/lang/array.js +++ b/src/lang/array.js @@ -157,7 +157,7 @@ Array.from = $A; /** * Array#compact() -> Array - * Trims the array of `null`, `undefined`, or other "falsy" values. + * Returns a copy of the array without any `null` or `undefined` values. **/ function compact() { return this.select(function(value) {