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)

x86_64
macOS
defect

Tracking

()

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: general → nobody
Keywords: testcase
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.