单项选择题
(() => {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
单项选择题 JavaScript中的所有内容都是()
单项选择题 !!null;!!"";!!1; 以上三个表达式的输出结果分别为()
单项选择题 setInterval(() => console.log("Hi"), 1000);以上代码的返回值为()