@@ -647,16 +647,15 @@ Array.from = $A;
647
647
}
648
648
649
649
/**
650
- * Array#some([iterator = Prototype.K[, context]]) -> Array
650
+ * Array#some([iterator = Prototype.K[, context]]) -> Boolean
651
651
* - iterator (Function): An optional function to use to evaluate each
652
652
* element in the enumeration; the function should return the value to
653
653
* test. If this is not provided, the element itself is tested.
654
654
* - context (Object): An optional object to use as `this` within
655
655
* calls to the iterator.
656
656
*
657
- * Returns the result of applying `iterator` to each item in the array. If
658
- * no iterator is provided, the elements are simply copied to the returned
659
- * array.
657
+ * Determines whether at least one element is truthy (boolean-equivalent to
658
+ * `true`), either directly or through computation by the provided iterator.
660
659
*
661
660
* `Array#some` acts as an ECMAScript 5 [polyfill](http://remysharp.com/2010/10/08/what-is-a-polyfill/).
662
661
* It is only defined if not already present in the user's browser, and it
@@ -692,7 +691,7 @@ Array.from = $A;
692
691
* - context (Object): An optional object to use as `this` within
693
692
* calls to the iterator.
694
693
*
695
- * Determines whether at least one element is truthy (boolean-equivalent to
694
+ * Determines whether all elements are truthy (boolean-equivalent to
696
695
* `true`), either directly or through computation by the provided iterator.
697
696
*
698
697
* `Array#every` acts as an ECMAScript 5 [polyfill](http://remysharp.com/2010/10/08/what-is-a-polyfill/).
0 commit comments