Source code

Revision control

Copy as Markdown

Other Tools

let threw = false;
try {
({
a: arguments.length
} = 0);
} catch (error) {
assertEq(error instanceof ReferenceError, true);
threw = true;
}
assertEq(threw, true);