Тёмный

TREAT JAVASCRIPT'S `THIS` AS A FUNCTION ARGUMENT 

Joel Codes
Подписаться 4,1 тыс.
Просмотров 372
50% 1

Problems with JavaScript's `this` are common. But changing your thinking about `this` as an argument to a function instead of the "current instance", can help reduce bugs.
Apply Bind Call function methods: • Minute JavaScript - Ap...

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

 

15 сен 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 8   
@codigoninja
@codigoninja 4 года назад
Great video, thank you Joel!
@JoelCodes
@JoelCodes 4 года назад
Hey thanks Leonardo! I appreciate the comment! Thanks for spending your time to watch my videos! Cheers 🍻
@danwest9900
@danwest9900 3 года назад
Fantastic video! Extremely helpful. Thank you for posting!
@JoelCodes
@JoelCodes 3 года назад
Thanks for watching. Cheers 🍻
@alensljivar2425
@alensljivar2425 4 года назад
Really helpful. Tnx for the video. I had the same example as const speak = cat.speak() on one job interview and didnt know that this.name will be undefined. Great job with the videos.
@JoelCodes
@JoelCodes 4 года назад
Glad you found this helpful. `this` can be a trick. It'll catch you when you least expect. Cheers 🍻
@VimKanzo
@VimKanzo 4 года назад
Which plugin do u use to run the function right in vscode?
@JoelCodes
@JoelCodes 4 года назад
That is the Quokka.js plugin. I highly recommend it! You can get it here: quokkajs.com
Далее
Раскрыла секрет дочки!
00:37
Просмотров 468 тыс.
Postgres just got even faster
26:42
Просмотров 21 тыс.
FUNCTION OVERLOADING IN JAVASCRIPT
3:52
Просмотров 4,8 тыс.
Custom Array Sort Algorithms in JavaScript
5:56
Просмотров 2,7 тыс.
All 17 React Best Practices (IMPORTANT!)
1:46:11
Просмотров 134 тыс.