Post

Arrow Function Expression

Arrow Function Expression

Arrow function expressions

  1. Arrow function don’t have their own bindings to this, arguments, or super, and sould not be used as methods.
  2. Arrow function cannot be used as constructors. Calling them the new throws a TypeError. They also don’t have access to the new.target keyword.
  3. Arrow functions cannot use yield within their body and cannot be created as generator functions.
This post is licensed under CC BY 4.0 by the author.