let stack = (new Error()).stack
console.log(stack)
JS 打印函数堆栈信息
最新推荐文章于 2025-01-16 15:10:18 发布
let stack = (new Error()).stack
console.log(stack)