pocomath/number/negate.mjs

4 lines
51 B
JavaScript
Raw Normal View History

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