用法
const calcObj = require('szhmqd21calc')
console.log(`加法计算的结果是 ${calcObj.add(1,2)}`)
console.log(`减法计算的结果是 ${calcObj.substrict(1,2)}`)
const calcObj = require('szhmqd21calc')
console.log(`加法计算的结果是 ${calcObj.add(1,2)}`)
console.log(`减法计算的结果是 ${calcObj.substrict(1,2)}`)
npm i zyznizuinb
1
1.0.2
MIT
1.58 kB
3