Mastering 'this' in JavaScript - Intermediate JavaScript #2

preview_player
Показать описание
"this" in JavaScript is used all the time, however very few people know how to use it correctly and what does it refer to when invoked. Let us take a look at "this" in JavaScript and how you can use it properly.
Рекомендации по теме
Комментарии
Автор

Thank you for this video (both literally this and js "this")! Well done!

jiroquijano
Автор

Best explanation of this keyword with respect to the functions in javascript.

Devendrakr
Автор

Could have just made an object and shown how it works depending on where it’s used - this.example was not clear

sigmiami
Автор

Great tuts I liked it, I don't know what is wrong with people who dislike it. keep rocking

sureshkumaranbu
Автор

So as far as I understand "this" is a thing that calls "this"... In a nutshell

KrisAkaVenno
Автор

All doubts cleared 😊 thanks for making this.video()

ThakurShaaabCSGO
Автор

hi, how come with so much good material you have on your channel, the viewers are low?

mrhossein
Автор

Please explain more with closure also..

NitinKumarDev
Автор

const comment = {

const this.video = () => {
console.log("This video was really helpful!") ;

}
}
comment.video() ;

abhijeetnandvikar