1 2 3 4 5 6
function testStringConstructorWithExtraArg() { for (let i = 0; i < 5; ++i) new String(new String(), 2); return "ok"; } assertEq(testStringConstructorWithExtraArg(), "ok");