Travis build: 220

This commit is contained in:
30secondsofcode
2018-08-13 11:23:31 +00:00
parent 8e14e1ff59
commit 1d674a9461
3 changed files with 5 additions and 5 deletions

View File

@ -8,7 +8,7 @@ You can omit `step` to use a default value of `1`.
```js
const initializeArrayWithRange = (end, start = 0, step = 1) =>
Array.from({length: Math.ceil((end - start + 1) / step)}, (v, i) => i * step + start);
Array.from({ length: Math.ceil((end - start + 1) / step) }, (v, i) => i * step + start);
```
```js