blob: c42639e375f7741ad8746576637a112cdac814f4 [file] [log] [blame]
let value = "string";
var 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();