Fix test cases

This commit is contained in:
Stefan Feješ
2017-12-17 22:26:07 +01:00
parent e87678f359
commit 82b850fd00
20 changed files with 21 additions and 21 deletions

View File

@ -8,5 +8,5 @@ You can omit `start` to use a default value of `0`.
```js
const initializeArrayWithRange = (end, start = 0) =>
Array.from({ length: end - start }).map((v, i) => i + start);
// initializeArrayRange(5) -> [0,1,2,3,4]
// initializeArrayWithRange(5) -> [0,1,2,3,4]
```