Определение стрелочной функции (Arrow Function Definitions) Синтаксис стрелочной функции ArrowFunction [In, Yield, Await] : ArrowParameters [?Yield, ?Await] [нет LineTerminator здесь] => ConciseBody [?In] ArrowParameters [Yield, Await] : BindingIdentifier [?Yield, ?Await] CoverParenthesizedExpressionAndArrowParameterList [?Yield, ?Await] ConciseBody [In] : [lookahead ≠ {] ExpressionBody [?In, ~Await] { FunctionBody [~Yield, ~Await] } ExpressionBody [In, Await] […]