Matthew Robb wrote:
Object.assign(obj, {...});
same as
obj.{...};

Not the same as Allen's proposed mustache form, which defined not assigned. But mustache was taken back to the lab for more work, and we're on to := now.

Object.define(obj, {...});
same as
obj:{...};

No can do, this is ambiguous with a labeled statement.

Specific method names for the Object.* could be decided upon. Would also be nice, following the above, to have the following

obj:prop = value;

Label again.

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

Reply via email to