Bob Myers schrieb:
Apologies if something like this has already been proposed and/or rejected
for whatever reason.

I think you're looking for the same as http://wiki.ecmascript.org/doku.php?id=strawman:define_properties_operator

It would be nice to have an operator alternative for Object.assign.

It uses an ":=" operator, so your example would read

obj1 := {x, y};

 Bergi

_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to