« Bugzilla Issues Index
#3300 — Getter and setter functions have no prototype property
- bug_id:
3300
- creation_ts:
2014-10-28 06:20:00 -0700
- short_desc:
Getter and setter functions have no prototype property
- delta_ts:
2015-07-10 08:34:20 -0700
- product:
Draft for 6th Edition
- component:
technical issue
- version:
Rev 28: October 14, 2014 Draft
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
normal
- everconfirmed:
true
- reporter:
Erik Arvidsson
- assigned_to:
Allen Wirfs-Brock
- cc:
erik.arvidsson
- commentid:
10540
- comment_count:
0
- who:
Erik Arvidsson
- bug_when:
2014-10-28 06:20:20 -0700
In ES5 the function backing a getter and/or setter has a prototype property. In ES6 this is no longer the case.
I think this change in semantics will be fine but we should include this in the "change list".
- commentid:
10649
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2014-11-16 16:18:56 -0800
there is already an item in Annex E (labeled 14.3) that says that in ES6 such properties are not constructors. I added a sentence that explicitly says this means they don't have a 'prototype' property.
Fixed in re29 editor's draft.
- commentid:
10858
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2014-12-07 14:35:01 -0800
fixed in rev29