UNPKG

szhmqd17calc

Version:

深圳前端17期牛逼的计算器项目

22 lines (18 loc) 376 B
const substrictFunc = (x,y)=>{ return x - y } const name = "小苍" //导出的是对象,那么导入的时候获取的就是对象 /** module.exports = { substrict, name } */ /** * 和上面导出是一样的 module.exports.substrict = substrict module.exports.name = name */ exports.substrictFunc = substrictFunc exports.name = name