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