Skip to content

Commit 905ce4d

Browse files
committed
remove advanced array method
1 parent 7a1f2f9 commit 905ce4d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,9 @@ const words = [
112112

113113
Calculating a sum is as simple as iterating over an array and adding each of the elements together.
114114

115-
Semantically [reduce](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/Reduce) is the best method to use for this, but you can use any loop we've discussed so far.
115+
<!-- Semantically [reduce](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/Reduce) is the best method to use for this, but you can use any loop we've discussed so far. -->
116116

117-
Create a `sumArray` function that takes an array of numbers as a parameter, and calculate the sum of all its numbers:
117+
Create a `sumArray` function that takes an array of numbers as a parameter, and calculate the sum of all its numbers. Later in the course you will learn how to use some array methods and you won't have to do this process "manually".
118118

119119
**Starter Code**
120120

0 commit comments

Comments
 (0)