Тёмный

Arrow Functions in JavaScript - All You Need To Know! 

dcode
Подписаться 135 тыс.
Просмотров 3,2 тыс.
50% 1

In this video I'll be explaining Arrow Functions in JavaScript (new in ES6) and how they differ from regular JavaScript functions.
To summarize, I'll be showing you the shorter, more concise syntax, the differences with the 'this' keyword and the fact that there is no arguments object with Arrow Functions.
Support me on Patreon:
/ dcode - with enough funding I plan to develop a website of some sort with a new developer experience!
For your reference, check this out:
developer.mozi...
Follow me on Twitter @dcodeyt!
If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!

Опубликовано:

 

30 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 13   
@nathnaeltibebu3076
@nathnaeltibebu3076 2 года назад
I have been trying to understand this keword in arrow function for very long time, but I failed. Now I understand it clearly. Thank you!
@KofiBNTIM
@KofiBNTIM 2 года назад
I am having trouble using it with if…else statements. How do I go about it ?
@gidzpark1451
@gidzpark1451 5 лет назад
1st comment.. yey!.. Keep it up.. Awesome videos.. Thank for the tutorials.. 😉 Can I ask? how can I make CSS worked on a frameset in an HTA file? Thanks!
@luciusrex
@luciusrex 7 месяцев назад
thanks Dom! love your videos!
@gidget5347
@gidget5347 4 года назад
Thank you so much! I find your videos very helpful. Also, great voice!
@rock1ee
@rock1ee 3 года назад
thanks, this video is helpful
@maix52
@maix52 5 лет назад
" _ => {some code }" is this the same as "() => {some code } " ? I've seen it multiple times and dont realy know what it is
@dcode-software
@dcode-software 5 лет назад
Nah, the parameter is simply called "_". It's the exact same as changing that _ to an "a"
@maix52
@maix52 5 лет назад
@@dcode-software OK thanks , weird name for a argument name tho.
@dcode-software
@dcode-software 5 лет назад
Yeah I think people just use it cos it looks nice haha
@ubermensch-mne
@ubermensch-mne 5 лет назад
it is the same thing, but '_ => {some code}' should be avoided since is not good practice.
@RomanFilenko
@RomanFilenko 5 лет назад
great short tuts, keep up 😉 tip : live-server extension for easy reload
Далее
JS Arrow Functions: Everything You Need to Know
20:23
JavaScript this Keyword Explained Simply
11:42
Просмотров 15 тыс.
БЕЛКА ЗВОНИТ ДРУГУ#cat
00:20
Просмотров 870 тыс.
ХОМЯК ВСЕХ КИНУЛ
10:23
Просмотров 583 тыс.
You Probably Haven't Used This JavaScript Loop
9:36
Просмотров 3,1 тыс.
ES6 Rest Parameters - JavaScript Tutorial
5:22
Просмотров 15 тыс.
Callbacks in JavaScript Explained!
14:03
Просмотров 153 тыс.
JavaScript Function - What's your Function?
12:27
Просмотров 183 тыс.
JavaScript ES6 Arrow Functions Tutorial
9:32
Просмотров 833 тыс.