Closed
Bug 659283
Opened 14 years ago
Closed 9 years ago
Reflect.parse("let a") gives kind: "var"
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 589199
People
(Reporter: zbraniecki, Unassigned)
Details
(Whiteboard: reflect-parse)
steps to reproduce:
1) obj = Reflect.parse("let a");
2) (obj.body[0]['kind']=="let") returns false
Reporter | ||
Updated•14 years ago
|
Whiteboard: reflect-parse
Comment 1•14 years ago
|
||
I think there may not be anything we can do about this for now. Right now, a top-level |let| is treated by SpiderMonkey as a |var|. This may not remain the case in the future, when we work out the semantics of |let| in Harmony, but TC39 hasn't worked it out yet.
Dave
Assignee | ||
Updated•10 years ago
|
Assignee: general → nobody
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•