> > Define Properties Operator > http://wiki.ecmascript.org/doku.php?id=strawman:define_properties_operator > Batch Assignment Operator > http://wiki.ecmascript.org/doku.php?id=strawman:batch_assignment_operator (via > dherman) >
It's not clear to me that a batch assignment operator would obviate the need for similar library functions in the wild. Sometimes one wants to overwrite the properties of the target object, but other times one only wants to set a value when the target object does not already have a property defined for that name (as in underscore's "defaults"). A batch-assignment operator in this way is similar to a flat-head screwdriver. Nice to have, but you're still going to need to go to the hardware store to assemble that dresser from Ikea. Kevin
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

