随笔分类 -  node

摘要:// a.js a=1 b=2 // 暴露单个对象或数据 // module.exports=a // 暴露对象 module.exports={ a, b } // b.js a=require('./a.js') console.log(a) 阅读全文
posted @ 2022-05-23 06:03 mk-备忘 阅读(47) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示