archives

« Bugzilla Issues Index

#1097 — Ensure ArrowFunction w/o { FunctionBody } is specified


eg: let square = x => x*x;

- Implicit return


?

http://wiki.ecmascript.org/doku.php?id=harmony:arrow_function_syntax


yes, it's specified. There is an Evaluation operation in 13.2 for that ConciseBody production that does the necessary expression evaluation and return


Great, thanks for clarifying.