node 的CommonJS的引入

1.CommonJS

  • 每个文件是一个模块,有自己的作用域

 引入:

原文地址:https://www.cnblogs.com/kaiqinzhang/p/11937293.html