We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f23805 commit 01a8a7dCopy full SHA for 01a8a7d
arrays-and-objects/Arrays.js
@@ -26,7 +26,8 @@ arr.unshift(100);
26
27
output = arr.length; // returns the length of the array
28
29
-// output = arr.reduce((arr, rec) => arr + rec); // LETS TALK ABOUT THIS LATER
+// output = arr.reduce((arr, rec) => arr + rec);
30
+// LETS TALK ABOUT THIS LATER
31
32
arr.reverse(); // return the element in the array in a reversed order
33
@@ -36,6 +37,6 @@ console.log(output);
36
37
38
/*
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.
41
42
*/
0 commit comments