On Mar 3, 2012, at 8:00 PM, Kevin Smith wrote: > None of the syntax options presented so far seem to be winning. Would not > specifying the prototype somewhere *inside* of the object literal also be an > option? If so, would anyone like to take a crack at that? >
We already explored that path (trace back the history of the object literal proposals on the wiki). The <| semantics needs to also work with at least function expressions and array literals.. In the future it probably needs to be extensible to block lambda. Some thing that is "outside" is more flexible in accommodating various syntactic forms. Allen _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

