摘要: Node中 导出 向外导出成员,使用module.exports和exports module.exports = {} 导出多个成员(必须是在对象中) foo.js exports.a = 123 exports.b = 'hello' exports.c = function () { cons 阅读全文
posted @ 2019-03-25 23:51 懒懒同学不懒 阅读(7629) 评论(0) 推荐(1) 编辑