Closed
Bug 465472
Opened 16 years ago
Closed 16 years ago
TM: lenient with unhelpful toString
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 465460
People
(Reporter: jruderman, Unassigned)
Details
(Keywords: testcase)
Interpreter and JIT give different results:
b.js:
for each (e in [0, 1, {}]) { print('' + {toString:function()e}); }
./js ~/b.js
0
1
b.js:1: TypeError: can't convert ({toString:(function () e)}) to primitive type
./js -j ~/b.js
0
1
[object Object]
Comment 1•16 years ago
|
||
This is all Brendan.
Updated•16 years ago
|
Flags: blocking1.9.1+
Updated•16 years ago
|
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•