欢迎光临散文网 会员登陆 & 注册

黑马程序员北京顺义校区133期web前端面授

2023-03-11 10:47 作者:娜娜络络  | 我要投稿

nst result = add(1, 2)console.log(result);// moduleA.jsexport function add(a, b) {  return a + b}export function log() {  return true;}// output.js, tree shaking去除了log()函数function add(a, b) {  return a + b;}const result = add(1, 2);console.log(result);

黑马程序员北京顺义校区133期web前端面授的评论 (共 条)

分享到微博请遵守国家法律