pocomath/number/negate.mjs

4 lines
51 B
JavaScript

export const negate = {
number: [[], n => -n]
}