Understanding Arrow Functions in JavaScript

A dive into what arrow functions are, how they are different from regular functions, as well as the lexical scope and their shorthands.

Taran
codeburst
Published in
6 min readNov 29, 2020

--

ES2015 (or ES6) has added arrow function expressions to JavaScript. These functions have shorter syntax than their predecessor (this being the function expressions)…

--

--

I am a Full stack developer. I enjoy learning and building new skills, and sharing what I’ve learned.