• 2022-06-12
    (()=>{letx,y;try{thrownewError();}catch(x){(x=1),(y=2);console.log(x);}console.log(x);console.log(y);})();以上代码运行结果为()
    A: 1undefined2
    B: undefinedundefinedundefined
    C: 112
    D: 1undefinedundefined