Travis build: 1431

This commit is contained in:
30secondsofcode
2018-01-26 10:25:05 +00:00
parent 6381f042f4
commit 6b62f7c426
3 changed files with 78 additions and 17 deletions

View File

@ -7,7 +7,7 @@ Returns the remaining elements.
```js
const dropRightWhile = (arr, func) => {
while (arr.length > 0 && !func(arr[arr.length-1])) arr = arr.slice(0, -1);
while (arr.length > 0 && !func(arr[arr.length - 1])) arr = arr.slice(0, -1);
return arr;
};
```