摘要: 1.Nodejs 中的模块 在node环境中一个js文件就是一个模块(module) 我们采用的是CommonJS规范,使用require引入模块,使用module.exports导出接口 node的module遵循CommonJS规范,requirejs遵循AMD,seajs遵循CMD // a. 阅读全文
posted @ 2018-12-20 17:51 奥特曼打小怪兽cc 阅读(1140) 评论(0) 推荐(0)