Skip to content

Commit 507f43e

Browse files
committed
added image to readme
1 parent 2010916 commit 507f43e

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
Let's practice using `map`, `filter`, and `reduce`!
44

5+
* * *
6+
7+
![map filter reduce in a tweet](./map-filter-reduce.png)
8+
59
#### Setup
610

711
1. Install [mocha](https://mochajs.org/): `npm install -g mocha`
@@ -41,7 +45,7 @@ var users = [{ firstName: 'Bradley', lastName: 'Bouley', role: 'Full Stack Resid
4145
{ firstName: 'Zach', lastName: 'Klabunde', role: 'Instructor'}];
4246
```
4347

44-
We're going to send out a message to all our users but just need their first name in order to personalize it. We can use `.map()` to quickly return an array of just their first names.
48+
We're going to send out a message to all our users but just need their first name in order to personalize it. We can use `.map()` to quickly return an array of just their first names.
4549

4650
```javascript
4751
users.map(function (user) {

map-filter-reduce.png

48.3 KB
Loading

0 commit comments

Comments
 (0)