Allen Wirfs-Brock wrote:
On May 29, 2012, at 10:15 AM, Brendan Eich wrote:
Allen Wirfs-Brock wrote:
ES 5 defines "foo:bar" as meaning [[DefineOwnPropertuy]]. Prior to the standardization
of getter/setter semantics in ES5 some implementation used [[Put]] for "foo:bar".
They did that because ES3 mandated it!
Yes, but it wan't a significant issue until setter properties were added as a
non-standardized (pre-standardizaton?) extension ...
Still, your words let ES3 completely off the hook, and setters went in
before ES3 was truly finalized. It was more like a race:
$ cvs annotate -r3.4 jsopcode.tbl | grep SETTER
3.5 (brendan% 21-Sep-99): OPDEF(JSOP_SETTER,
124,js_setter_str,js_setter_str,1, 0, 0, 0, JOF_BYTE)
/be
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss