commonjs模块化:
//导出 module.exports={ flag:true, test(a,b){ return a+b } }
//导入 var s=require("./")
模块化
原文:https://www.cnblogs.com/fhzm/p/13504616.html