共计 171 个字符,预计需要花费 1 分钟才能阅读完成。
(() => {
let x, y
try {throw new Error()
} catch (x) {(x = 1), (y = 2)
console.log(x)
}
console.log(x)
console.log(y)
})()
- A:
1
undefined
2
- B:
undefined
undefined
undefined
- C:
1
1
2
- D:
1
undefined
undefined
参考答案
正文完