(x) => {foo: bar}

Gary Guo nbdd0121 at hotmail.com
Wed Jan 7 22:07:46 PST 2015


Even when we want to throw early errors for object-literal-like block, I consider my argument still valid.
```()=>{  method()  {  }}```Should we throw an early error? Of course not, but it might be a potential error; out task is not to warn on object-literal-like block; instead, maybe simply we can just disallow improperly labelled statement in arrow function body. 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20150108/cf001932/attachment.html>


More information about the es-discuss mailing list