« Bugzilla Issues Index
#3260 — Update: Object Instantiation Redo
- bug_id:
3260
- creation_ts:
2014-10-06 10:51:00 -0700
- short_desc:
Update: Object Instantiation Redo
- delta_ts:
2014-10-14 15:17:56 -0700
- product:
Draft for 6th Edition
- component:
technical issue
- version:
Rev 27: August 24, 2014 Draft
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
enhancement
- everconfirmed:
true
- reporter:
Rick Waldron
- assigned_to:
Allen Wirfs-Brock
- commentid:
10268
- comment_count:
0
- who:
Rick Waldron
- bug_when:
2014-10-06 10:51:34 -0700
#8 option was combination of:
- Stay the course with draft ES6 (#2)
- Pass args to @@create. (#8)
- Constructor [[create]] slot
- own not inherited
- not exposed to user code
Example from Dave Herman:
Array[[Create]] = function (...args) {
return %ArrayCreate%(this.prototype, ...args);
};
Example from Brian Terlson:
https://gist.github.com/bterlson/1fe0b0dc0ef3e71ff6e3
- commentid:
10355
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2014-10-14 11:18:21 -0700
fixed in rev28 editor's draft
- commentid:
10451
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2014-10-14 15:17:56 -0700
fixed in rev28