doc: Fixed documentation error on Array#compact. [#295 state:resolved]
This commit is contained in:
parent
2763ca4de7
commit
b57bdbd76e
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue