Skip to content

Commit 8beba52

Browse files
authored
Update part2a.md
Original text "results in an array containing the contents of the notes." is confusing because the variable is "result". When I saw "results in an array containing the contents of the notes.", I thought that the "results" was the variable "result" mis-spelled.
1 parent 3fb2c3e commit 8beba52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/2/en/part2a.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ Changing the command to:
300300
const result = notes.map(note => note.content)
301301
```
302302

303-
results in an array containing the contents of the notes.
303+
will give you an array containing the contents of the notes.
304304

305305
This is already pretty close to the React code we used:
306306

0 commit comments

Comments
 (0)