revive let blocks

Gary Guo nbdd0121 at
Thu Jun 18 12:44:58 UTC 2015

Be aware that the way you utilize 'let' will be a breaking change. In ES5 and ES6```let(a=1) {}```is valid and it is a call to let with one argument followed by a block. Your suggestions will turn it into a let-block. In ES6 let is considered as an identifier and the meaning is created by special syntactic grammar.
Personal idea: I consider this is unnecessary. If you consider use of block without context is ugly, use if(true) or do-while(false) 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list