Get Some Grip on Arrow Functions in JavaScript

Don’t tell me the moon is shining; show me the glint of light on broken glass.

Various Forms

Arrow Functions in JavaScript can also be used in various forms depend on the arguments and return values.

Unlike normal functions, Arrow functions always try to return something although you never include ‘return’ in the body.

Let’s see the basic syntax first

When you have a single line of statement in the function body it is fully optional to write {} and ‘return’ keyword. Else you must include {} and ‘return’ keyword.


  1. They do not have ‘this’ binding. Instead, those identifiers are resolved in the lexical scope like any other variables.
  2. They do not have ‘arguments’ object but same functionality can be used with rest parameters.
  3. They can not be used with ‘new’. Functions created through function declaration/expressions are both constructable and callable but Arrow functions (and methods) are only callable.

Thanks to read

Harish Sharma

Known Technical

Thank you so much to be here and just to read my blog post. If you really love this post. Kindly share it with your friend's circle.

If you've really like my above post then, please share it to on below media

Write to Me

In case, if you like my portfolio

Harish Sharma on Facebook    Harish Sharma on Twitter    Harish Sharma on Instagram    Harish Sharma on LinkedIn    Harish Sharma's Youtube Channel

Go to Top