Skip to content

Commit 2010916

Browse files
corrected spelling error
1 parent 271f1fe commit 2010916

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
@@ -115,7 +115,7 @@ Just like the other functions here, `.filter()` also takes additional arguments,
115115

116116
### .reduce()
117117

118-
Reduce is an incredibly powerful method that allows us to combine all of the result in an array into a single result. There are a few different ways we can use it, so it's important to read the documentation careful!
118+
Reduce is an incredibly powerful method that allows us to combine all of the result in an array into a single result. There are a few different ways we can use it, so it's important to read the documentation carefully!
119119

120120
[Check out the docs.](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/reduce)
121121

@@ -186,4 +186,4 @@ users.reduce(function (usersObj, user) {
186186
// 'Zach Klabunde': 'Instructor' }
187187
```
188188

189-
Notice the empty object as the second argument in reduce, as well as the fact that we're constantly returning our `usersObj` on each iteration.
189+
Notice the empty object as the second argument in reduce, as well as the fact that we're constantly returning our `usersObj` on each iteration.

0 commit comments

Comments
 (0)