可以为 module.exports 属性分配新的值(例如函数或对象)。 下面, bar.js 使用了导出Square 类的 square 模块: const Square = require ...
確定! 回上一頁