blob: 73f4d92b76af8d9faa7e513d84b36bfb4f35e426 [file] [log] [blame]
let value = "string";
const o = value;
try {
throw { o: 1 };
} catch({ o }){
if (o !== 1)
throw new Error();
o = 2;
}
if (o !== value)
throw new Error();
try {
throw [ 1 ];
} catch([ o ]){
if (o !== 1)
throw new Error();
o = 2;
}
if (o !== value)
throw new Error();