在Node环境中,一个.js文件就称之为一个模块(module)。 使用模块有什么好处? ... 注意到引入 hello 模块用Node提供的 require 函数: var greet = require('.
確定! 回上一頁