Arrow Functions vs Normal Functions in JavaScript | The Syntax and 5 Other Differences

preview_player
Показать описание
Since the introduction of Arrow Functions in ES6, we now have a shorter syntax for creating functions. But, this new syntax has limitations.

In this video, I share 5 differences between arrow and normal functions in JavaScript.

Timestamp:
00:00 ES6 Arrow Functions
00:23 Arrow Functions Syntax
02:05 1. No arguments object
03:29 2. No THIS variable
07:12 3. Cannot be Constructors
10:17 4. Cannot be declared
12:00 5. Cannot be used before initialization
15:26 Wrap up

_____

_____

🌟 About Me:
Dillion Megida, creator of DEEECODE, is a Software Engineer, Developer Advocate and a Content Creator passionate about simplifying topics around Tech via articles and videos.

_____

⚡️ Connect with me:
Рекомендации по теме
Комментарии
Автор

Quite possibly the best explanation I've seen on this topic. Cheers!

tamathacampbell
Автор

Dear Dillion! Thank you very much for making it simple. I love your videos!

holycraps
Автор

love how easy this video was to follow, underrated big time

RadioactiveGamin
Автор

explanation is next level understanding at top thank you my all doubts are gone

saumitramuley
Автор

What a genius explanation, thank man.

sakibhossain
Автор

Easy, thanks for those reminders, I forgot about the ( this ) deal with arrow functions

daque