Open
Bug 706305
Opened 13 years ago
Updated 2 years ago
uneval omits parens around non-lambda (?) functions, breaking eval(uneval())
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
NEW
People
(Reporter: jruderman, Unassigned)
Details
(Keywords: testcase)
js> function g() { }
js> uneval(g)
"function g() {}"
js> print(eval(uneval(g)))
undefined
This is not a recent regression; this odd behavior goes back at least to 2009.
Assignee | ||
Updated•10 years ago
|
Assignee: general → nobody
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•