doc: Fixed documentation error on Array#compact. [#295 state:resolved]

This commit is contained in:
tjcrowder 2009-08-22 12:54:30 +01:00 committed by Tobie Langel
parent 2763ca4de7
commit b57bdbd76e
1 changed files with 1 additions and 1 deletions

View File

@ -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) {