pocomath/src/bigint/add.mjs

6 lines
125 B
JavaScript

export * from './Types/bigint.mjs'
export const add = {
'...bigint': () => addends => addends.reduce((x,y) => x+y, 0n)
}