Files
30-seconds-of-code/test/all/all.js
Angelos Chalaris 9a3bd8ffae Updated all, any, none
Merged them with their by counterparts.
2018-02-16 13:43:43 +02:00

2 lines
71 B
JavaScript

const all = (arr, fn = Boolean) => arr.every(fn);
module.exports = all;