Travis build: 1431

This commit is contained in:
30secondsofcode
2018-01-26 10:25:05 +00:00
parent aea334a94a
commit 65fb9f5b31
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;
};
```