We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cfc8f2b commit db3e238Copy full SHA for db3e238
2 files changed
.eslintrc.json
@@ -5,16 +5,13 @@
5
],
6
"consistent-return": 0,
7
"rules": {
8
- "no-param-reassign": 0,
9
"max-len": 0,
10
"no-plusplus": 0,
11
"linebreak-style": 0,
12
13
"no-useless-return": 0,
14
"no-return-assign": 0,
15
- "comma-dangle": 0,
16
"arrow-body-style": 0,
17
- "max-len": 0,
18
"no-unused-vars": 0,
19
"no-useless-constructor": 0,
20
"import/no-unresolved": 0
src/arrays.js
@@ -7,6 +7,7 @@
const each = (elements, cb) => {
// Iterates over a list of elements, yielding each in turn to the `cb` function.
// This only needs to work with arrays.
+ // You should also pass the index into `cb` as the second argument
// based off http://underscorejs.org/#each
};
0 commit comments