Source code

Revision control

Copy as Markdown

Other Tools

// Any copyright is dedicated to the Public Domain.
var err;
try {
{let i=1}
{let j=1; [][j][2]}
} catch (e) {
err = e;
}
assertEq(err instanceof TypeError, true);
assertEq(err.message.endsWith("[][j] is undefined"), true);
reportCompare(0, 0, 'ok');