Is it intentional that the first example uses colons between the
property and value while all others use the equals sign?
obj.{a:1,b:2,c:3};
vs.
obj.{a=1,b=2,c=3};
Thanks,
Nicholas
On 5/28/2012 12:00 PM, Allen Wirfs-Brock wrote:
At last week's T39 meeting there appeared to be significant support
for some form of the "Mustache" (or "Monocle") operator for literally
batching property manipulations on preexisting objects. Previously,
this extension did not have its own strawman so I was requested to
produce a separate revised strawman for Object Extension Literals. The
new strawman proposal is now at
http://wiki.ecmascript.org/doku.php?id=strawman:object_extension_literals
It also incorporates concepts for Dave Hermans "batch assignment
operator" strawman.
Allen
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss
--
___________________________
Nicholas C. Zakas
http://www.nczonline.net
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss