205

Alfredo Aguado
Jun 25, 2021

arrow functions do not have prototype property. We do not have binding of this when an arrow is invoked through apply or call .Dec 14, 2020

the value of this inside an arrow function remains the same throughout the lifecycle of the function and is always bound to the value of this in the closest non-arrow parent function.

One is a function declaration , the other is a function expression.

Arrow functions are best for callbacks or methods like map, reduce, or forEach. You can read more about scopes on MDN.

destructing is a JavaScript expression that makes it possible to unpack values from arrays, or properties from objects , into distinct variables.

a closure gives you access to an outer function’s scope from an inner function.

--

--