0

How => works in JavaScript?

How arrow functions (=>) works in JavaScript ES6?

27th Aug 2021, 4:41 PM
Anas
Anas - avatar
1 Odpowiedź
+ 3
Arrow functions are just like anonymous functions or lambdas And => is the symbol(keywords) for arrow expression Its a symbol introduced in Es6 every keyword has its definition to The compiler it tells what to do when this keyword calls like this => works it tells compiler to make a function object
27th Aug 2021, 5:01 PM
Vtec Fan
Vtec Fan - avatar