Skip to content

Commit db3e238

Browse files
SunJieMingSunJieMing
authored andcommitted
Updated eslint and instructions in Array.js
1 parent cfc8f2b commit db3e238

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

.eslintrc.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,13 @@
55
],
66
"consistent-return": 0,
77
"rules": {
8-
"no-param-reassign": 0,
98
"max-len": 0,
109
"no-plusplus": 0,
1110
"linebreak-style": 0,
1211
"consistent-return": 0,
1312
"no-useless-return": 0,
1413
"no-return-assign": 0,
15-
"comma-dangle": 0,
1614
"arrow-body-style": 0,
17-
"max-len": 0,
1815
"no-unused-vars": 0,
1916
"no-useless-constructor": 0,
2017
"import/no-unresolved": 0

src/arrays.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
const each = (elements, cb) => {
88
// Iterates over a list of elements, yielding each in turn to the `cb` function.
99
// This only needs to work with arrays.
10+
// You should also pass the index into `cb` as the second argument
1011
// based off http://underscorejs.org/#each
1112
};
1213

0 commit comments

Comments
 (0)