外部檔案的import 用法:. import cube from 'my-module'; console.log(cube(3)); // 27. Copy to Clipboard. Note 注意預設輸出不能使用var, let , const。
確定! 回上一頁