模块化(ES Module). // 模块A 导出一个方法export const sub = (a, b) => a + b; // 模块B 导入使用import { sub } from './A'; console.log(sub(1, ...
確定! 回上一頁