单项选择题
(() => {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
点击查看答案
