Travis build: 574 [cron]
This commit is contained in:
@ -1,2 +1,3 @@
|
||||
const takeRightWhile = (arr, func) => arr.reduceRight((acc, el) => func(el) ? acc : [el, ...acc], []);
|
||||
const takeRightWhile = (arr, func) =>
|
||||
arr.reduceRight((acc, el) => (func(el) ? acc : [el, ...acc]), []);
|
||||
module.exports = takeRightWhile;
|
||||
|
||||
Reference in New Issue
Block a user