name anonymous functions on property assignments

Benjamin Gruenbaum benjamingr at gmail.com
Sun Jul 26 12:11:52 UTC 2015


In theory this sounds like a cool idea, I didn't even know variable
assignments named functions.

The only issue I see here is how we're now differentiating assignment by
where it happens - what if the property is computed? As far as I know
function names are more constrained (like variable names) in what they can
be. Object properties may contain characters that function names may not.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20150726/8a7e7eac/attachment.html>


More information about the es-discuss mailing list