Confusing part of THIS in javascript

preview_player
Показать описание
Welcome to a youtube channel dedicated to programming and coding related tutorials. We talk about tech, write code, discuss about cloud and devops. That’s what we do all day, all year. We roll out a lot of series and videos on our channel.

All the learning resources such as code files, documentations, articles and community discussions are available on our website:

You can find our discord link, github link etc on the above website.

Рекомендации по теме
Комментарии
Автор

Full course is FREE and will be available here

HiteshCodeLab
Автор

Thanks a lot, sir. Whenever you are teaching, The most confusing part is becoming very easy to understand by using "this" examples. :) Thanks a lot, sir.

RamKumar-zfcl
Автор

Finally the confusions about THIS has been cleared

mohammedkalifa
Автор

Thank you so much Hitesh sir. Now 'this' keyword is totally understandable just because of your teaching style with practical example.

Sunny-ocbo
Автор

seriously best explanation of "this" keyword ✌✌

shivamkharde
Автор

For arrow functions this keyword actually works a bit different.
Arrow functions don't have it's own this keyword.

vijaynavale
Автор

Never ever will face issue with this keyword again. Just loved the way you teach. ♥️

rahulchoudhary
Автор

thanks Hitesh bhai....for such simple explanation ("for all regular function calls, this points to window object)

rd-mh
Автор

Finally I understood This concept, Thanks a lot sir

svanaja
Автор

How a person can be so amazing like you..

fahimalif
Автор

Thank you so much Hitesh for this channel, very well explained and made me easily understood. ❤

riyatiwari
Автор

let user = {
getname : function (){
console.log("inside user", this)
function sayname(){
console.log("sayname", this);
}
sayname();
}
}

let fun = user.getname;
fun();

Another Good Example

soulofjack
Автор

Good one.
Regular function call - global object

devesh
Автор

Awesome explanation sirG..!!
Kudos for clearing up the confusion..!!

Sushil
Автор

Awesome
nice explain
Thank u so much sir

IqbalAhmed-qkix
Автор

WOW, you cleared my confusion
Awesome stuff

ankushthakur
Автор

Thank you for clearing it in very easy way :)

bhavesh
Автор

After watching this, my confusions about 'this' has been clearly confused.

chirulucian
Автор

Thanks sir for clearing the confusion keyword this in JavaScript

ProgrammingWithProject
Автор

Thank you Sir for throwing more light on this

afamsval
welcome to shbcf.ru