Closed Bug 1243943 Opened 10 years ago Closed 8 years ago

Missing closing curly brace in uneval of object whose getter was created with |bind|

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jruderman, Unassigned)

References

Details

(Keywords: testcase)

> var f = (function(){}).bind() > var o = {}; > Object.defineProperty(o, "x", {get:f, enumerable:true}); > uneval(o) ({get x () { [native code] }) Missing a closing curly.
On m-c tip: > var f = (function(){}).bind() > var o = {}; > Object.defineProperty(o, "x", {get:f, enumerable:true}); > uneval(o) "({get x() { [native code] }})"
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.