Skip to content

Commit 01a8a7d

Browse files
arr
1 parent 2f23805 commit 01a8a7d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

arrays-and-objects/Arrays.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ arr.unshift(100);
2626

2727
output = arr.length; // returns the length of the array
2828

29-
// output = arr.reduce((arr, rec) => arr + rec); // LETS TALK ABOUT THIS LATER
29+
// output = arr.reduce((arr, rec) => arr + rec);
30+
// LETS TALK ABOUT THIS LATER
3031

3132
arr.reverse(); // return the element in the array in a reversed order
3233

@@ -36,6 +37,6 @@ console.log(output);
3637

3738
/*
3839
---------------------
39-
NOTE! this code runs from the top to the bottom and most of the method and property mutate the original array
40+
NOTE! this code runs from the top to the bottom and most of the method and property mutate the original array.
4041
---------------------
4142
*/

0 commit comments

Comments
 (0)