strawman for the := operator

Rick Waldron waldron.rick at
Wed Aug 8 10:29:14 PDT 2012


> Again, I'm with you in the desire to make [[Put]] and
> [[DefineOwnProperty]] semantics clearer while also providing a convenient
> syntax that further promotes the use of defined properties.
> This all comes back to needing some form of "Object.extend" that behaves
> the way I explained above. To be clear, I want BOTH := and
>  (not-yet-defined) "object extend"
Specifically, I'd like to see:

Define Properties Operator
Batch Assignment Operator (via

Maybe the "Batch Assignment Operator" should be renamed "Assign Properties
Operator" to make it uniform and easier to understand its complementary
nature with "Define Properties Operator"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list