File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ Those D & F grades would look a lot better if they suddenly became A's.
5656
5757Let's go back to before we filtered out the bad grades, and instead change the grades to A's.
5858
59- + Make a function ` changeGrades ` that takes student data and changes all grades to "A"s.
59+ + Make a function ` changeGrade ` that takes student data and changes all grades to "A"s.
6060@test ('1/03/01-map')
6161@action (open('03-map.js'))
6262@action (set(
@@ -72,11 +72,11 @@ function changeGrade() {
7272@hint ('match where ` student.grade === 'A' ` ')
7373
7474
75- + Map over the ` myData ` with the ` changeGrades ` function. Set ` myChanged ` to the result.
75+ + Map over the ` myData ` with the ` changeGrade ` function. Set ` myChanged ` to the result.
7676@test ('1/03/02-map')
7777@action (insert(
7878```
79- // map over `myData` with the `changeGrades ` function
79+ // map over `myData` with the `changeGrade ` function
8080var myChanged = myData.map();
8181```
8282))
You can’t perform that action at this time.
0 commit comments