Nodejs 環境所使用的模組系統就是基於 CommonJs 規範實現的,我們現在所說的 ... foo.js //一個一個匯出 module.exports.age = 1 module.exports.foo ...
確定! 回上一頁