File tree Expand file tree Collapse file tree 4 files changed +19
-0
lines changed Expand file tree Collapse file tree 4 files changed +19
-0
lines changed Original file line number Diff line number Diff line change 1+ "use strict" ;
2+ var expect = require ( 'chai' ) . expect ;
3+ var path = require ( 'path' ) ;
4+ var loadJS = require ( '../../common/loadJS' ) . default ;
5+
6+ if ( ! global . data ) {
7+ // global.data = JSON.parse(JSON.stringify(require('../../data/students.json')));
8+ }
9+
10+ loadJS ( '05-find.js' ) ;
11+
12+ describe ( '' , function ( ) {
13+
14+
15+
16+ } ) ;
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ Array -> find an item that matches a condition
33
44+ ` find ` the name that isn't in the list of known students
55@test ('1/05/01-find')
6+ @action (open('05-find.js'))
67
78+ ` filter ` down to students without known names
89@test ('1/05/02-find')
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ Array + Array -> Array
33
44+ ` filter ` down "Hack Kerr"'s data
55@test ('1/06/01-concat')
6+ @action (open('06-concat.js'))
67
78+ ` concat ` two more suspects to the suspect list, "Kevin Mitnick" & "Albert Gonzalez"
89@test ('1/06/02-concat')
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ Array -> transform into anything
33
44+ Use ` reduce ` to calculate the class average
55@test ('1/07/01-reduce')
6+ @action (open('07-reduce.js'))
67
78+ ` reduce ` to suspect scores
89@test ('1/07/02-reduce')
You can’t perform that action at this time.
0 commit comments