@@ -31,7 +31,7 @@ Find is great for performantly matching unique values in data, such as an "id",
3131@action (set(
3232```
3333// filter for the student title matches "Web Security"
34- var myClass = students.filter();
34+ var myClass = students.filter(::> );
3535```
3636))
3737@hint ('create a ` filter ` function')
@@ -50,7 +50,7 @@ var otherStudents = ["Albert Gonzalez", "Brian Kernaghan", "Danielle Bunten Berr
5050```
5151// search for a student with a name
5252// not matching students in `otherStudents`
53- function notInList() {
53+ function notInList(::> ) {
5454
5555}
5656
@@ -68,7 +68,7 @@ var unknownStudent = myClass.find();
6868```
6969
7070// filter using `notInList`
71- var unknownStudentList = students.filter();
71+ var unknownStudentList = students.filter(::> );
7272```
7373))
7474@hint ('consider reusing a function')
@@ -79,7 +79,7 @@ var unknownStudentList = students.filter();
7979```
8080
8181// list only student names
82- var unknownStudentNames = unknownStudentList.map();
82+ var unknownStudentNames = unknownStudentList.map(::> );
8383```
8484))
8585@hint ('use ` map ` to return only the ` student.name ` ')
@@ -90,7 +90,7 @@ var unknownStudentNames = unknownStudentList.map();
9090```
9191
9292// use `.join('')` to join the array of strings
93- var decodedName = unknownStudentNames;
93+ var decodedName = unknownStudentNames::> ;
9494console.log(decodedName);
9595```
9696))
0 commit comments