Arrow Functions In Javascript | JavaScript ES6 | Fat Arrow Function | 2022

preview_player
Показать описание
#HatimTekri #arrowfunction #es6 #javascript

Arrow Functions In Javascript | JavaScript ES6 | Fat Arrow Function | 2022
1) Arrow functions were introduced in ES6.
2) Arrow functions allow us to write shorter function syntax
3) It gets shorter! If the function has only one statement, and the statement returns a value, you can remove the brackets and the return keyword
4) if you have only one parameter, you can skip the parentheses as well
5) The handling of this is also different in arrow functions compared to regular functions
Рекомендации по теме
Комментарии
Автор

sir make a node js and express playlist....rest api (Mongoose & Node.js) || Populate

joydasgupta
join shbcf.ru