const, let and var in JavaScript | JavaScript Tutorial in Hindi #3

preview_player
Показать описание
Timestamps:
00:00-01:08 (Introduction)
01:08-04:00 (let, var and const)
04:00-08:47 (Scope of let)
08:47-12:05 (Scope of const)
12:05-12:57 (Discussion)

python, C, C++, Java, JavaScript and Other Cheetsheets [++]:

►Learn in One Video[++]:

►Complete course [playlist]:

Follow Me On Social Media
Comment "#HarryBhai" if you read this 😉😉
Рекомендации по теме
Комментарии
Автор

One request to all those who are asking me for 2-3 videos daily - I want to maintain the quality throughout this course and want to deliver videos at a very comfortable pace. If I get time, you might see 2 videos daily someday but I don't want to make these videos with a thought of delivering n number of videos per day. Eventually we will complete this course for sure.
Your support is greatly appreciated! Hope you will understand :)

CodeWithHarry
Автор

In this video, the presenter explains the differences between the "let, " "var, " and "const" keywords in JavaScript. Before ES6, the "var" keyword was commonly used to declare variables, but it is now recommended to avoid using it due to potential bugs. The "const" keyword is used to declare constants, which are identifiers whose values cannot be changed throughout the program. On the other hand, the "let" keyword is used to declare block-scoped variables. The video demonstrates these concepts by using Replit and provides examples of how variables behave differently with "var, " "let, " and "const." It emphasizes that "var" should be avoided in new code and recommends using "let" for block-scoped variables and "const" for constants. The presenter also discusses variable initialization, undefined, null, and primitive types in JavaScript. The video concludes by encouraging viewers to access the complete JavaScript course for a more comprehensive understanding of these concepts.

krsnazoo
Автор

This Ultimate JavaScript Course going to become one of the best course in the Universe Of
Thank you So Much Harry Bhai 😊💖

bhaumilpanchal
Автор

This is one of Harry Best course ..His teaching method with humor and entertainment has gone to next level....

nomihaider
Автор

Even getting 10% of your knowledge is a challenge for me❤️❤️

satyamkarn
Автор

Harry bhaii... Hyderabad ke no 1 institute se full stack devlopment ka course krr raha hu.... Us teacher ka bhi jitna samjh nahi aata utna ye short video me sikh gaya hu maii.... thanku so much...

Abhid
Автор

Now I can finally say I have no doubt regarding var & let! ❤️‍🔥

royarnab
Автор

You teach those people, who dont know any think (about any programming language or others) and this advantage of your is amazing 😎 & this is your tallent harry sir 😉, we all like you👍, I have always love 💗 & respect 🙏🏻for you in my heart ❤

badalsahoo
Автор

- The video discusses the differences between `let`, `var`, and `const` in JavaScript.
- `var` was commonly used before ES6, but it is now recommended to avoid using it due to potential bugs.
- `let` is used to declare block-scoped variables, while `const` is used to declare constants.
- `var` is globally scoped, whereas `let` and `const` are block-scoped.
- `let` allows for variable updates but not redeclaration, while `const` does not allow updates or redeclaration.
- The video emphasizes using `let` and `const` instead of `var` in modern JavaScript code.

tejasanilkar
Автор

@codewithharry bhai dil se dua nikalti h ki aap ye aise courses free m provide krate ho and also in high quality....

PrinceKumar-lyen
Автор

A very very nice way of explanation! If this couse supposed to be offline we couldn't even imagine the hell of money we would have to spend on🙄🙄🙄 But thanks to you, Thank you sooo much😊😊

starlite
Автор

I am in love with your teaching style. I'm 42 and learning JS for a career change. In a few months, I will update you on how much your videos helped me and how I followed up to learn and find a job. I see you as God's angel. God bless

coolvideos
Автор

Hello course is just amazing and I'm already from coding background and learned some languages from ur channel also and after seeing the annoucement of this ultimate java course I decided to learn this language too. Thanku Sir this is an amazing course like all the previous ones

abhimanyukumar
Автор

Hello Harry. notes mai likha hai ki "let" intialize nahi hota with default value whereas var hota hai with value as "undefined". But let hota hai with value as "undefined".

adityapriyadarsan
Автор

Harry brother
I just completed your web development course and now starts to access again a really commendable course of you
Got to learn lot from web development course and definitely gonna learn lot from this course too
Love from Mumbai ❤️❤️

ThunderGaming-bcfq
Автор

Just some minor change what sir told in that:
const variables initialization cannot be done when they declare we have to must initialize variables at the time of declaration but let & var variables are initialized by compiler with "undefined" value.

var a // Valid
console.log(a)

let b // Valid
console.log(b)

const c // Invalid SyntaxError: Missing initializer in const declaration
console.log(c)

dark-bhcy
Автор

Harry Bhai why you are not using VS code

rajazain
Автор

very awesome way of teaching.. u r a simply great... i will complete this course surely... love u bro..!!😘😘😘

nbk
Автор

Harry sr plz also add project in js course really help us .
I know var and let but i was confuse in Const you cleared my doubt thanks sir 👍🙂

prasadshingade
Автор

Harry bhai ❤❤❤❤❤ U are the best teacher in the hole
Fast & furious teaching techniques for beginners to advanced

Buggy_mind