JS

Functions in JavaScript - Arrow functions in javas...

32.

What is an arrow function in JavaScript?

A function that can only be invoked using the call or apply methods.

A type of function that can only be used as a method in an object.

A function that always returns undefined.

A shorthand syntax for writing anonymous functions.