Skip to content

Commit b589f38

Browse files
authored
Merge pull request #2210 from leviding/patch-27
FIX: delete extra space
2 parents dccca58 + de8cf9f commit b589f38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/05-data-types/05-array-methods/article.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,7 @@ These methods are the most used ones, they cover 99% of use cases. But there are
743743

744744
The function `fn` is called on each element of the array similar to `map`. If any/all results are `true`, returns `true`, otherwise `false`.
745745

746-
These methods behave sort of like `||` and `&&` operators: if `fn` returns a truthy value, `arr.some()` immediately returns `true` and stops iterating over the rest items; if `fn` returns a falsy value, `arr.every()` immediately returns `false` and stops iterating over the rest items as well.
746+
These methods behave sort of like `||` and `&&` operators: if `fn` returns a truthy value, `arr.some()` immediately returns `true` and stops iterating over the rest items; if `fn` returns a falsy value, `arr.every()` immediately returns `false` and stops iterating over the rest items as well.
747747

748748
We can use `every` to compare arrays:
749749
```js run

0 commit comments

Comments
 (0)