Skip to content

Instantly share code, notes, and snippets.

@kevinpeno
Last active October 19, 2015 23:44
Show Gist options
  • Save kevinpeno/b66eacc8fe3767d94854 to your computer and use it in GitHub Desktop.
Save kevinpeno/b66eacc8fe3767d94854 to your computer and use it in GitHub Desktop.
14.2: Arrow Function Definitions
ArrowFunction[In, Yield] :
ArrowParameters[?Yield] [no LineTerminator here] => ConciseBody[?In]
ArrowParameters[Yield] :
FormalParameters[?Yield]
StrictFormalParameters[?Yield]
CoverParenthesizedExpressionAndArrowParameterList[?Yield]
ConciseBody[In] :
[lookahead ≠ { ] [no LineTerminator here] AssignmentExpression[?In]
FunctionBody
{ FunctionBody }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment