UNPKG

@jrc03c/js-math-tools

Version:
8 lines (6 loc) 110 B
function forEach(x, fn) { for (let i = 0; i < x.length; i++) { fn(x[i], i, x) } } export { forEach }