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.
56
56
57
57
Let's go back to before we filtered out the bad grades, and instead change the grades to A's.
58
58
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.
60
60
@test ('1/03/01-map')
61
61
@action (open('03-map.js'))
62
62
@action (set(
@@ -72,11 +72,11 @@ function changeGrade() {
72
72
@hint ('match where ` student.grade === 'A' ` ')
73
73
74
74
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.
76
76
@test ('1/03/02-map')
77
77
@action (insert(
78
78
```
79
- // map over `myData` with the `changeGrades ` function
79
+ // map over `myData` with the `changeGrade ` function
80
80
var myChanged = myData.map();
81
81
```
82
82
))
You can’t perform that action at this time.
0 commit comments