Arrow Functions in JavaScript: A Simpler Way to Write Functions
Introduction
Before ES6, writing functions in JavaScript often required a lot of repetitive syntax.
Even simple functions needed:
the function keyword
curly braces
explicit return statements
For
arrowfunctioninjsbyarmaan.hashnode.dev7 min read