Travis build: 1341 [cron]

This commit is contained in:
30secondsofcode
2019-08-12 16:28:43 +00:00
parent 43b75db27c
commit a5164f392a
7 changed files with 18 additions and 18 deletions

4
dist/_30s.esm.js vendored
View File

@ -361,10 +361,10 @@ const filterNonUniqueBy = (arr, fn) =>
const findKey = (obj, fn) => Object.keys(obj).find(key => fn(obj[key], key, obj));
const findLast = (arr, fn) => arr.filter(fn).pop();
const findLastIndex = (arr, fn) =>
arr
(arr
.map((val, i) => [i, val])
.filter(([i, val]) => fn(val, i, arr))
.pop()[0];
.pop() || [-1])[0];
const findLastKey = (obj, fn) =>
Object.keys(obj)
.reverse()