Fat Arrow Syntax
introduction to fat arrow syntax and its advantages
An arrow function expression has a shorter syntax than a regular function expression and does not have its own this
, arguments, super
, or new.target
. Let’s write an ES5 function to sum two numbers.
Level up your interview prep. Join Educative to access 80+ hands-on prep courses.