Skip to content

Commit e668b04

Browse files
committed
Fixed doc for some,every,none
1 parent 162388d commit e668b04

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

implementations/every.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
1717
If the predicate is not fulfilled then the method will exit early (and return false).
1818
19-
Calling some on an empty array will return true.
19+
Calling every on an empty array will return true.
2020
*/
2121
Array.prototype.myEvery = function myEvery(predicate, thisArg){
2222
for(var i = 0 ; i < this.length ; ++i){

implementations/none.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
1717
If the predicate is fulfilled then the method will exit early (and return false).
1818
19-
Calling some on an empty array will return true.
19+
Calling none on an empty array will return true.
2020
*/
2121
Array.prototype.myNone = function myNone(predicate, thisArg){
2222
for(var i = 0 ; i < this.length ; ++i){

0 commit comments

Comments
 (0)