pocomath/bigint/add.mjs

5 lines
112 B
JavaScript

import './BigInt.mjs'
export const add = {
'...bigint': [[], addends => addends.reduce((x,y) => x+y, 0n)],
}