2018年1月24日
摘要: CommonJS 方式 文件输出如math.js: math.add = function(a,b){ return a+b; }exports.math = math; 文件引入: math = require("math"); ES6 方式 文件输出如math.js: math.add = fu 阅读全文
posted @ 2018-01-24 15:22 swing07 阅读(258) 评论(0) 推荐(0)