摘要: // function test() { try { throw new Error(); } catch(e) { console.log(e); console.log(e.stack, 'call stack test 函数调用堆栈'); } } 阅读全文
posted @ 2022-03-16 15:33 Running00 阅读(22) 评论(0) 推荐(0) 编辑
摘要: v7.16.7 babel.config.json "presets": [ [ "@babel/preset-env", { "useBuiltIns": "entry" // 需要自动引入,需要的polyfill } ] ] import 'core-js/fn/promise'; 阅读全文
posted @ 2022-03-16 14:10 Running00 阅读(22) 评论(0) 推荐(0) 编辑