Source code
Revision control
Copy as Markdown
Other Tools
// Test that parenthesized class expressions don't get their toString offsets
// messed up.
assertEq((class {}).toString(), "class {}");
assertEq(((class {})).toString(), "class {}");
if (typeof reportCompare === "function")
reportCompare(0, 0, "OK");