Travis build: 1447 [cron]

This commit is contained in:
30secondsofcode
2018-01-26 20:13:34 +00:00
parent 50fb3b1833
commit 927a952538
29 changed files with 485 additions and 1515 deletions

View File

@ -0,0 +1,5 @@
const dropRightWhile = (arr, func) => {
while (arr.length > 0 && !func(arr[arr.length - 1])) arr = arr.slice(0, -1);
return arr;
};
module.exports = dropRightWhile