iam telling you this guys is giving very deep knowledge and discussing minors things which would help in projects and other people skips these concepts ,thank you sir keep it up
Sir you’re amazing I have never seen the concept of “this” keyword anywhere. Before I was confused about why we use “this” keyword in every place, but now I fully understand that. Thank you you’re amazing teacher. May Allah guide you to the right path.
function jab bhi create hote hai toh unske sath execution context bhi create hota hai or this keyword yaha javascript ke window me runs hota jiske under multiple methods vagera hoti hai or function ka scope ko objects ke scope se refer karne ke liye hum this ka use karte jisse ke functon window ke onjects ko use kar etc
18:04 Summary: Normal Function: this dynamic hota hai aur depend karta hai ke function kis tarah call kiya gaya. Arrow Function: this lexical hota hai aur function define hone wale scope ke this ko inherit karta hai.
Nobody has ever given me a clearer explanation of explicit return and implicit return. I am working on react for almost a year and a half now. And always got confused about this topic. Thank you for making an amazing video, Hitesh sir.
"I can confidently say that this course is truly the best! The content is well-structured, engaging, and delivered in a way that makes complex concepts easy to understand. The instructor's expertise is evident, and their passion for the subject matter shines through in every lesson. The interactive elements and practical exercises not only reinforce learning but also make the entire experience enjoyable. I appreciate the attention to detail and the clear effort invested in creating a course that caters to learners of all levels. Kudos to the team behind this outstanding educational resource!" Please start react also
Mai naam nhi le skta.. baki channel se bhi JavaScript ka ratta lga chuka tha.. .. ....bt samajh es playlist se aayi....... aur confidence bhi aagya.. .. Dhanyawad dil se... Chai aur code 😊😊
5:03, "sam" isliye print hua because aapne object ko modify kar dia (heap memory me stored value ka reference milta hai), agar ham this.username ki jagah user.username bhi karte tab bhi hame same output milta. btw love you hitesh>>>
You know that we declare/assign array with const but still we were able change the value i read on w3school that const keyword is misleading however I don't know in this scenario maybe it could be same (And sorry for the grammar mistake:)@@AtulKumar-iy9iw
User name change nhi hua reference change hua Hy iska agr ham pury object ko change karny ki Koshish karty to error ata.kuky object are non primitive.hope I will give you right answer ❤
sir you are really a good teacher who made their students understand the logic behind the code with practical approach, Now after watching your videos I really have a sense of confidence that I will crack the interview, A great salute to such a big teacher like you, my fav teacher in youtube familly tech education
I took a course to learn WebDevlopment but I can't understand the tech language which they are using but when I stared your video, I completely understand that what is going on the code, so thank you much for this knowledge.
i'm a backed developer and wanted to learn the frontend just searching on utube for video randomly i choose his video series and believe guys i became master in the java script in only 10 days thats a diifrent part i have already 3 +years experience in backed technology that why i did it fast but more is the his explanation this is the best platform for every it enthusiast who want learn the code
Bahut Shukriya Sir. There are many tutorials available, and the creators are dedicated to helping viewers grasp the core concepts of the topics they cover. However, many tutorials struggle to simplify the material at its core. You, on the other hand, have effortlessly achieved this. I cannot thank you enough for your efforts! 🙏🙏🙏
Honestly i want to say that this is one of the most "interesting"course..... usually when i learn from other courses i get bored easily, but with your course , I feel so confident and curious. Bow down to you dude!
I just can't thank you enough, I was getting so confused with arrow functions but your video as always cleared all my confusions. You are one of the best teacher indeed.
The 'this' keyword inside a function refers to the object that the function is a property of or the object that the function is called on. However, the behavior of the this keyword inside an arrow function is different from regular functions. In an arrow function, the this keyword is lexically scoped, meaning it takes on the value of the this keyword in the surrounding code. The this keyword in an arrow function does not get rebound when the function is invoked, unlike regular functions. It keeps the same value as the this keyword in the surrounding code.
Bro, tell me one thing should I follow this course , I have watch and made notes nall.. yr kuch jagah pe kaafi vague explanation h .. for e.g in this video he literally didn't tell that this in arrow is lexical this and in regular function this refers to its object if it is property of one or else it refers to global window
00:02 Arrow functions are a new feature in JavaScript introduced in 2015. 01:53 Understanding the use of 'this' keyword in JavaScript 03:55 Understanding the usage of 'this' in JavaScript 05:51 Understanding the current context in JavaScript 07:53 Inside the browser, the global object is the window object. 09:51 Understanding how to declare functions in JavaScript 11:48 Arrow function in JavaScript allows for a concise syntax. 13:52 Implicit return in JavaScript functions 15:43 Using explicit return in JavaScript 17:37 Arrow functions in JavaScript
Hey hitesh..this is first time in my life I'm commenting any youtube video...chai ki toh choro code aapne aisi banayi he ki chai Thandi v ho jaye code se bahar nikalne ka Mann ni karta...BTW could not stop myself without appreciate your work.. I was stuck in js but you cleared all my concept in js...BTW I want your react and node js mongodb and express series..
Even in function we can get...using this keyword Like when we use console. log(this. Username ) Inside function and when the function is called... We can get that username value.... In current node version
the best lecture available on youtube, indepth knowledge, very helpful in react. Thanks for make this video and today you broke the myth about the difference between normal function and arrow function.
"A Good Teacher can produce many good students, but a good student can not become a good teacher!" Thank you Hitesh Sir for this priceless content. I love learning from you.
wow, amazing sir Literally i want to say this everyone says harry videos are really the best but I wanna say you are more than that as you teach with the perspective of projects and give deep knowledge. Allah makes you really happy !!!!! true herooooopooooooo
i have never seen this type of quality i have taken paid courses as well but there content not like you thank you so much for your efforts sir i have no words for your efforts , you just created hindi channel for those who have a difficulty to understand english thank you once again
Its really very helpful and I was interviewed... Interviewer asked all these concepts but I was left blank and now I wonder why I didn't watch these videos earlier.
kuch hoisting aise padhate hain jaise lgta hai kya to toppp hai....Hitesh makes it like cake walk...Simplicity and depth at the same time is core of this course
sir yar kamal kartay ho ap kasam great explanation very in depth explanation i am very happy thank you for providing us a world class javascript lecture i hope you will keep providing us first class lectures on react ,css,nextjs,typecsript,api,database lectures etc which helps us to become a strong developer .
Sir every year I refresh my JavaScript Foundations with different random playlist, and I can assure that This is the most professional JavaScript series on RUclips Hindi because of your experience in teaching that is incredible ❤🇵🇰
Thank you sir, video is in depth. No doubt sir. I see sir during the Javascript learning. You always keep beginner in our mind, and cover the all doubt. Which one will be create during the learning.
Hi Sir, Your series is amazing its clearing all my basics point that needed to be cover in JavaScript can you Make videos on React Native next it will be helpful for me Thanks for the Knowledge.
This was epic!! The explaination and difference between why we use paranthesis and wrap them around objects is great! But Hitesh can you also explain the edifference between this and why we can use this in arrow function ??
12:00 pr video cut ho gye diff btw Normal and Arrow functn this keyword, kha kya kaam krta h ye clear nhi hua, interviewer kya janana cahata h?? @hitesh
Why This keyword can't be used in Arrow function object Methods but we can use This keyword in function declaration in object Method ? const car = { model: 'A1', dis: 23, time: 10, speed1() { console.log(this); return this.dis / this.time; }, speed2: () => { console.log(this); return this.dis / this.time; }, }; console.log(car.speed1()); // working giving car obj console.log(car.speed2()); // Giving window obj
i hope you read this. Can you make a video or reply on my question below: 1) sum(a, b) => { } 2) let sum = (a, b) => { } what is the difference between these two arrow functions? And will it give any error or different output? when to use which one?
Why you didn’t discussed more about differences between normal function and arrow function and why “this” works there and not in arrow function. Video seemed to be edited that time.
iam telling you this guys is giving very deep knowledge and discussing minors things which would help in projects and other people skips these concepts ,thank you sir keep it up
Thanks for appreciating
Well, the way you summarised, use of return, in {},
And no return in (), is amazing ❤
This man is the 🐐 GOAT.
The way sir makes us understand is so good.
Now I feel proud on choosing web development.
😁😁🍻
Sir you’re amazing I have never seen the concept of “this” keyword anywhere. Before I was confused about why we use “this” keyword in every place, but now I fully understand that. Thank you you’re amazing teacher. May Allah guide you to the right path.
function jab bhi create hote hai toh unske sath execution context bhi create hota hai or this keyword yaha javascript ke window me runs hota jiske under multiple methods vagera hoti hai or function ka scope ko objects ke scope se refer karne ke liye hum this ka use karte jisse ke functon window ke onjects ko use kar etc
18:04
Summary:
Normal Function:
this dynamic hota hai aur depend karta hai ke function kis tarah call kiya gaya.
Arrow Function:
this lexical hota hai aur function define hone wale scope ke this ko inherit karta hai.
can you give example of each ?
Thanks sir I'm from Pakistan.. I learn about 2 year javascript but Your Javascript course in depth mind blowing. And Clear concept.😍
Love u sir ❤ apki vjh se concept ache se clear hore h jha merko paid courses m b ni hore the
Nobody has ever given me a clearer explanation of explicit return and implicit return. I am working on react for almost a year and a half now. And always got confused about this topic. Thank you for making an amazing video, Hitesh sir.
Abdul Bari sir, Gate Smashers and Hitesh Sir
God level teaching ❤❤
"I can confidently say that this course is truly the best! The content is well-structured, engaging, and delivered in a way that makes complex concepts easy to understand. The instructor's expertise is evident, and their passion for the subject matter shines through in every lesson. The interactive elements and practical exercises not only reinforce learning but also make the entire experience enjoyable. I appreciate the attention to detail and the clear effort invested in creating a course that caters to learners of all levels. Kudos to the team behind this outstanding educational resource!"
Please start react also
Mai naam nhi le skta.. baki channel se bhi JavaScript ka ratta lga chuka tha.. .. ....bt samajh es playlist se aayi....... aur confidence bhi aagya.. .. Dhanyawad dil se... Chai aur code 😊😊
namste javascript??
5:03, "sam" isliye print hua because aapne object ko modify kar dia (heap memory me stored value ka reference milta hai), agar ham this.username ki jagah user.username bhi karte tab bhi hame same output milta. btw love you hitesh>>>
but the keyword is const, how the username is changing because const is not changeable i think ??
You know that we declare/assign array with const but still we were able change the value i read on w3school that const keyword is misleading however I don't know in this scenario maybe it could be same
(And sorry for the grammar mistake:)@@AtulKumar-iy9iw
User name change nhi hua reference change hua Hy iska agr ham pury object ko change karny ki Koshish karty to error ata.kuky object are non primitive.hope I will give you right answer ❤
sir you are really a good teacher who made their students understand the logic behind the code with practical approach, Now after watching your videos I really have a sense of confidence that I will crack the interview, A great salute to such a big teacher like you, my fav teacher in youtube familly tech education
Aiisa explanation tho premium courses m b nahi milta ... jazkaAllah Sir for teaching us in such away in free.❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️
Your way of explaining is most unique, more understanding in less words and this is the identity of a Guru.
I took a course to learn WebDevlopment but I can't understand the tech language which they are using but when I stared your video, I completely understand that what is going on the code, so thank you much for this knowledge.
i'm a backed developer and wanted to learn the frontend just searching on utube for video randomly i choose his video series and believe guys i became master in the java script in only 10 days
thats a diifrent part i have already 3 +years experience in backed technology that why i did it fast but more is the his explanation this is the best platform for every it enthusiast who want learn the code
Bahut Shukriya Sir. There are many tutorials available, and the creators are dedicated to helping viewers grasp the core concepts of the topics they cover. However, many tutorials struggle to simplify the material at its core. You, on the other hand, have effortlessly achieved this. I cannot thank you enough for your efforts! 🙏🙏🙏
Honestly i want to say that this is one of the most "interesting"course..... usually when i learn from other courses i get bored easily, but with your course , I feel so confident and curious. Bow down to you dude!
Maza aya aur is main jo maza hain main sabko dena chahata hu. Such in depth exploration. Loved it.
I just can't thank you enough, I was getting so confused with arrow functions but your video as always cleared all my confusions. You are one of the best teacher indeed.
I was very confused in this topic while learning react, but after watching this videos, all my doubts is cleared now, Thank you sir ji...
You explain things in great depth, Thank you so much sir!😇
Your indepth explanations are quite amazing It clears the concepts completely✨ please bring react js series also sir✨
The 'this' keyword inside a function refers to the object that the function is a property of or the object that the function is called on. However, the behavior of the this keyword inside an arrow function is different from regular functions.
In an arrow function, the this keyword is lexically scoped, meaning it takes on the value of the this keyword in the surrounding code. The this keyword in an arrow function does not get rebound when the function is invoked, unlike regular functions. It keeps the same value as the this keyword in the surrounding code.
Better explanation than this 20 min video🥲
Bro, tell me one thing should I follow this course , I have watch and made notes nall.. yr kuch jagah pe kaafi vague explanation h .. for e.g in this video he literally didn't tell that this in arrow is lexical this and in regular function this refers to its object if it is property of one or else it refers to global window
this is the best place to learn java-script, i am glad i found this channel on youtube
sir the way you deliver content is just amazing, please start a series on vanilla css also
00:02 Arrow functions are a new feature in JavaScript introduced in 2015.
01:53 Understanding the use of 'this' keyword in JavaScript
03:55 Understanding the usage of 'this' in JavaScript
05:51 Understanding the current context in JavaScript
07:53 Inside the browser, the global object is the window object.
09:51 Understanding how to declare functions in JavaScript
11:48 Arrow function in JavaScript allows for a concise syntax.
13:52 Implicit return in JavaScript functions
15:43 Using explicit return in JavaScript
17:37 Arrow functions in JavaScript
Hey hitesh..this is first time in my life I'm commenting any youtube video...chai ki toh choro code aapne aisi banayi he ki chai Thandi v ho jaye code se bahar nikalne ka Mann ni karta...BTW could not stop myself without appreciate your work.. I was stuck in js but you cleared all my concept in js...BTW I want your react and node js mongodb and express series..
Thanks n bilkul, backend to confirm hi aayega. I enjoy that part the most
Thanks sir 🙏
15:28 {} use karoge to return likhna padega
{} nhi use karoge to return nhi likhna
Even in function we can get...using this keyword
Like when we use
console. log(this. Username )
Inside function and when the function is called... We can get that username value....
In current node version
This Course is free with this much explaination !! Even the paid would not teach like this
the best lecture available on youtube, indepth knowledge, very helpful in react. Thanks for make this video and today you broke the myth about the difference between normal function and arrow function.
You are most welcome😊☕️
Abb chai aur code mai maja aa raha hai kyoki daily chai bhi mil rahi hai aur code bhi mil raha hai. Yaani consistency bani hui😂❤🎉👍🙏
Great JavaScript course! Your explanations are clear and easy to follow. Thanks for making learning so enjoyable! 🌟
Very helpful series. Thank u sir for making such content .....❤
One of the best Javascript series found on youtube, very well explained, thanks Hitesh sir..
Thank you sir for providing us in depth knowledge😀
definitely the best series on javascript on youtube
"A Good Teacher can produce many good students, but a good student can not become a good teacher!"
Thank you Hitesh Sir for this priceless content. I love learning from you.
Great Explanation!! 🔥🔥 Enjoying This series.
wow, amazing sir Literally i want to say this everyone says harry videos are really the best but I wanna say you are more than that as you teach with the perspective of projects and give deep knowledge. Allah makes you really happy !!!!! true herooooopooooooo
harry bhai ki vides basics ya beginners k liye best hn. But sir Hitesh ki videos technical understanding k liye best hn.
Thank you so much sir, you made this series very interesting ❤
"Master 'this' and arrow functions in JS! Engaging video, clear explanations. Highly recommend!"
i have never seen this type of quality i have taken paid courses as well but there content not like you thank you so much for your efforts sir i have no words for your efforts , you just created hindi channel for those who have a difficulty to understand english
thank you once again
this is best series of javascript on youtube
const addTwo = (num1 , num2 ) => {
return num1 + num2
}
console.log(addTwo(3 , 4 ));
Ans : 7 (Thala for a reason)
😁🤪
Its really very helpful and I was interviewed... Interviewer asked all these concepts but I was left blank and now I wonder why I didn't watch these videos earlier.
Definitely my fav and the best teacher out here in my opinion. Thank you so much!
Bhaiya you are giving the most indeepth knowledge. In paid course I have not been taught with this keyword for arrow function
after c,c++ ,and little bit of mcroprocessor concept ,it is easy to undestand such concept,
Implicit return
To implicitly return an object make sure to wrap it parentheses
Thank you for your in-depth knowledge, here I learned how to give extra value to code 💓💓💓💓💓💓
kuch hoisting aise padhate hain jaise lgta hai kya to toppp hai....Hitesh makes it like cake walk...Simplicity and depth at the same time is core of this course
first time THIS ka concept clear hua h, thanks alot sir
That was a very nice in depth explanation. Thank you very much sir I really love these in depth discussions. I'll proceed to watch all your videos now
this course is Pure Gold 🌟 !
Discussion was in depth...thank you sir😇
whenever I hear chai at my house "Aur code" echos in my head, The level of this series is top notch... hats off!!
two things :
1. please add the number in your vdo title along with thumbnail , its hard to keep track
2. start DS as your teaching style is awesome
Sir vaise to arrow function clear hai but fir bhi aapke videos se kuch na kuch extra to milta hi hai 😅😅😄😄
i have seen lots of RUclips videos but that one is beyond the scale.
way better explanation then other, keep it up👍
Trust me you are one of the best teacher in the world Gurudev Pta nahi aapko mera comment dikhe ga bhi ya nahi I don't know
sir yar kamal kartay ho ap kasam great explanation very in depth explanation
i am very happy
thank you for providing us a world class javascript lecture
i hope you will keep providing us first class lectures on react ,css,nextjs,typecsript,api,database lectures etc which helps us to become a strong developer .
Thankyou sir for this incredible lecture.
Sir every year I refresh my JavaScript Foundations with different random playlist, and I can assure that This is the most professional JavaScript series on RUclips Hindi because of your experience in teaching that is incredible ❤🇵🇰
Nice Video Hitesh. this is deeply and knowledgeable video content
Mind blowing, you are doing amazing sir, the way you explain the concepts in depth is amazing.
Thank you sir, video is in depth. No doubt sir. I see sir during the Javascript learning. You always keep beginner in our mind, and cover the all doubt. Which one will be create during the learning.
Hi Sir, Your series is amazing its clearing all my basics point that needed to be cover in JavaScript can you Make videos on React Native next it will be helpful for me Thanks for the Knowledge.
sir ap ka lecture laina kaa baad ab kisi ki zaroorat ni padha gi well done God bless you
we are lucky to have you in our journey sir
Thank You so much Sir,You are amazing. Your indepth explanations are quite amazing It clears the concepts completely
Sir thanx bhot he pyaar se samjhaya ❤😂...what a wonderfull calm sweet voice ❤
Thanku so much sir for this JavaScript course..this help a lot to beginner to start😊
Sir ap k jaisa koi indepth m nhi pdta RUclips pr ❤
thank you sir very deep knowledge with simplicity you are have all my respect :)
Thankyou bhaiya for providing this quality content for free..love from ghaziabad:)❤
kaafi kuch sikhne ko mila, Dhanyavad Sir !
mind blowing explanation ,thank you sir keep it up.....
chai ka maza to apke sath hi aata h. 🍵🍵
Thanks for cleared concept this method.🙏🙏🙏
13:58 .......... The message is clear
Sir i am from pakistan .Great love to your dedication, passion and sincerity for us. Litreally this is top 1st series of js on youtube.
This was epic!! The explaination and difference between why we use paranthesis and wrap them around objects is great! But Hitesh can you also explain the edifference between this and why we can use this in arrow function ??
Thank you so much for such an informative video 😊
12:00 pr video cut ho gye diff btw Normal and Arrow functn this keyword, kha kya kaam krta h ye clear nhi hua, interviewer kya janana cahata h?? @hitesh
sir found your channel through linkedin and the way you explain things is way better than those soo called bhaiya and didi
Great Explanation from Pakistan I really Appreciated your Work Good luck for Future 🙂
Why This keyword can't be used in Arrow function object Methods but we can use This keyword in function declaration in object Method ?
const car = {
model: 'A1',
dis: 23,
time: 10,
speed1() {
console.log(this);
return this.dis / this.time;
},
speed2: () => {
console.log(this);
return this.dis / this.time;
},
};
console.log(car.speed1()); // working giving car obj
console.log(car.speed2()); // Giving window obj
Thank you sir for this best series had made
When we not declared return keyword in arrow function compiler implicitly (automatically) adds a return keyword and perform the operation.
thoda this keyword me confused hu abhii
Chai aur Code is like routine now, sir! 😁👍🏼
our mother language hindi is indeed beautiful for learning coding😊
Thanks you so much for fundamental of JavaScript it very helpful for beginner, I am request to you please make a video for promises in depth
Hitesh sir, You are the best. Thank you for your JavaScript playlist . Lots of Love 💗☕
i hope you read this. Can you make a video or reply on my question below:
1) sum(a, b) => { }
2) let sum = (a, b) => { }
what is the difference between these two arrow functions? And will it give any error or different output? when to use which one?
first one is a normal arrow function and second one is arrow function expression you can use both
Why you didn’t discussed more about differences between normal function and arrow function and why “this” works there and not in arrow function. Video seemed to be edited that time.