name anonymous functions on property assignments
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...
More information about the es-discuss