Rabi Siddique
48 words
1 minutes
Why prefer Arrow Functions in JavaScript

In JavaScript, there are two types of functions: those declared using the function keyword and those declared using the arrow syntax (=>).

Mark Miller of Agoric gives the following reasons to use prefer arrow functions over function declarations.

Credits: Agoric Credits: Agoric

Further Readings#

Why prefer Arrow Functions in JavaScript
https://rabisiddique.com/posts/arrow-functions/
Author
Rabi Siddique
Published at
2024-06-01