« Bugzilla Issues Index
#4200 — Missing item in Annex E: in ES6 bound functions have the [[Prototype]] of the original function.
- bug_id:
4200
- creation_ts:
2015-03-19 04:02:00 -0700
- short_desc:
Missing item in Annex E: in ES6 bound functions have the [[Prototype]] of the original function.
- delta_ts:
2015-04-03 12:35:40 -0700
- product:
Draft for 6th Edition
- component:
editorial issue
- version:
Rev 36: March 17, 2015 Release Candidate 3
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
normal
- everconfirmed:
true
- reporter:
Claude Pache
- assigned_to:
Allen Wirfs-Brock
- commentid:
13911
- comment_count:
0
- who:
Claude Pache
- bug_when:
2015-03-19 04:02:23 -0700
A missing item in Annex E:
9.4.1.3 BoundFunctionCreate (used only in 19.2.3.2 Function.prototype.bind)
In ES6, the bound function gets the [[Prototype]] of the original function.
In ES5, it uses the default prototype (Function.prototype).
(However, since all functions in ES5 had Function.prototype as their [[Prototype]], it made a difference only if the user mutated it manually after creation.)
- commentid:
13981
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2015-04-01 09:39:05 -0700
fixed in rev37 editor's draft
- commentid:
14107
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2015-04-03 12:35:40 -0700
In Rev37