pocomath/number/add.mjs

4 lines
89 B
JavaScript

export const add = {
'...number': [[], addends => addends.reduce((x,y) => x+y, 0)],
}