Sure, this works for syntax questions. Today no expression can start with =>, but there is the headless arrows proposal[1] which might add one. IIRC we wanted to be future compatible.
I’m not sure what the motivation for [no LT here] in yield * was, but I support it on the grounds that splitting yield and * across lines is bad :-P In general better to be more conservative than less, I suppose. 1. https://bterlson.github.io/headless-arrows From: es-discuss [mailto:[email protected]] On Behalf Of Eric Suen Sent: Wednesday, October 21, 2015 12:28 AM To: [email protected] Subject: Why is no line break is needed in ArrowFunction? Try to write a parser for es6, is this the right place for question about syntax? There is no expression or statement start with =>, same goes to yield [no LineTerminator here] * AssignmentExpression ? ------------------------------------------------ Spket IDE - Development Tool for RIA. http://www.spket.com<https://na01.safelinks.protection.outlook.com/?url=http%3a%2f%2fwww.spket.com&data=01%7c01%7cbrian.terlson%40microsoft.com%7caaf2ba249b3a4273d38108d2d9e91b11%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=82rotBtjB4LpzYuIgNnwd9OGHbkM%2b%2fJoLf5oPCFj72o%3d>
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

