Arrow Function

Term side of the Card
Topic: Syntax
Unit title: Arrow Function
Categories: Syntax
Explanation side of the Card

Explanation: The syntax for writing functions in JavaScript in a shorter way, using the '=>' symbol. Arrow functions are often used for simple tasks and don't have their own `this` context, which makes them behave differently from regular functions in certain situations.

Browser compatibility:
  • The chrome browser supports this feature starting from version 45
  • The edge browser supports this feature starting from version 12
  • The firefox browser supports this feature starting from version 22
  • The safari browser supports this feature starting from version 10
Availability: