UNPKG

math-array

Version:

Math utility to calculate with two arrays.

11 lines (7 loc) 176 B
import { orderUnaware } from './utils' const add = (a, b) => a + b const addReverse = (a, b) => b + a export default (a, b, n) => orderUnaware(a, b, add, addReverse, n)