先來看 module.exports 。假設一個node.js 模組名稱為a.js,內容如下: // a.js module.exports = '123';. 這個模組很單純,會回傳字串'123'。
確定! 回上一頁