bug768436.js (264B)
1 function f() { 2 return new ({}); 3 } 4 function g() { 5 return ({})(); 6 } 7 try { 8 f(); 9 assertEq(0, 1); 10 } catch (e) { 11 assertEq(e instanceof TypeError, true); 12 } 13 try { 14 g(); 15 assertEq(0, 1); 16 } catch (e) { 17 assertEq(e instanceof TypeError, true); 18 }