archives

« Bugzilla Issues Index

#2716 — Add __(define|lookup)(Getter|Setter)__ to Annex B


Per Jan 2014 consensus, these methods should be added to Annex B because there is web content that depends on these methods most or all runtimes implement it.

See: https://github.com/rwaldron/tc39-notes/blob/07a99722d9f2594a51fd62e9ea320d72caabc01a/es6/2014-01/jan-30.md#definegetter-definesetter-etc-in-annex-b


I wrote this some time ago: https://gist.github.com/anba/9140946
It may serve as a starting point.


I wrote this a few years back; it may also be of help: http://javascript.spec.whatwg.org/#object


See https://github.com/tc39/ecma262/pull/381