How => works in JavaScript? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

How => works in JavaScript?

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

27th Aug 2021, 4:41 PM
Anas
Anas - avatar
1 Réponse
+ 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