(callback, ...names)
| 184 | // callback function invocations are stored in an array and returned at |
| 185 | // the end of the iteration. |
| 186 | map(callback, ...names) { |
| 187 | const result = []; |
| 188 | this.each( |
| 189 | (path, index, value) => { |
| 190 | result[index] = callback(path, index, value); |
| 191 | }, |
| 192 | ...names, |
| 193 | ); |
| 194 | return result; |
| 195 | } |
| 196 | |
| 197 | /** |
| 198 | * @param {...( |
no test coverage detected