You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 1-js/05-data-types/05-array-methods/article.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -767,7 +767,7 @@ A cheat sheet of array methods:
767
767
-`reduce/reduceRight(func, initial)` -- calculate a single value over the array by calling `func` for each element and passing an intermediate result between the calls.
768
768
769
769
- Additionally:
770
-
-`Array.isArray(arr)` checks `arr` for being an array.
770
+
-`Array.isArray(value)` checks `value` for being an array, if so return true, otherwise false.
771
771
772
772
Please note that methods `sort`, `reverse` and `splice` modify the array itself.
0 commit comments