« Bugzilla Issues Index
#4203 — 9.2.8 MakeConstructor (F, writablePrototype, prototype)
- bug_id:
4203
- creation_ts:
2015-03-19 14:20:00 -0700
- short_desc:
9.2.8 MakeConstructor (F, writablePrototype, prototype)
- delta_ts:
2015-04-03 12:35:38 -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:
enhancement
- everconfirmed:
true
- reporter:
coolwust
- assigned_to:
Allen Wirfs-Brock
- commentid:
13917
- comment_count:
0
- who:
coolwust
- bug_when:
2015-03-19 14:20:48 -0700
If I understand correctly, can I rewrite the algorithms like follows:
1. ...
2. ...
3. ...
4. If the writablePrototype argument was not provided, then
a. Let writablePrototype be true.
5. If the prototype argument was not provided, then
b. Let prototype be ObjectCreate(%ObjectPrototype%).
a. Let status be DefinePropertyOrThrow(prototype, "constructor", ...)
b. Assert: status is not an abrupt completion.
6. Let status be DefinePropertyOrThrow(F, "prototype", ...)
7. ...
It's kinda more clear.
- commentid:
13979
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2015-04-01 09:22:58 -0700
fixed in rev37 editor's draft
- commentid:
14095
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2015-04-03 12:35:38 -0700
In Rev37