Closed Bug 353255 Opened 19 years ago Closed 13 years ago

Decompilation can still expose "in" keyword in for's initial-expression

Categories

(Core :: JavaScript Engine, defect)

PowerPC
macOS
defect
Not set
minor

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jruderman, Unassigned)

Details

(Keywords: testcase)

See bug 351336 for why this is a bad thing. js> f = function() { for((a = b in c); ;) { }} function () { for (a = b in c;;) { } } js> eval(""+f) typein:18: SyntaxError: invalid for/in left-hand side: typein:18: for (a = b in c;;) { typein:18: ...............^
Still happens in the latest js shell.
Fixed by saving the source.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.