导出语法导入语法
commonjs模块化1.module.exports=xxxconst xxx=require()
2.exports.变量名=xxx
es6模块化1.export default xxx1.import {xxx} from
2.export xxx2.import xxx from
3.import * as xxx from
Last Updated:
Contributors: pengrengui