//datatypes are based on memory allocation Primitive datatypes-> call by value (string,number,boolean,null,undefined,BigInt,symbol) ->Stack memory Reference/Non primitive data types -> call by reference ( array,object, function) -> heap memory JavaScript is a dynamically typed language. This means that you don't need to specify the data type of a variable when you declare it.
There are 2 types of datatype 1. Primitive datatype:- 1.String 2. Number 3. Boolean (true / false) 4. null (iska matlab hai empty or zero nahi hai) 5. undefined (aapne variable declare kardiya hai but usmein aap kya value dalenge aapne decide nahi kiya hai) 6. Symbol (kisi bhi value ko unique banane ke liye use kiya jata hai) 7. BigInt (jo badi values hoti hai oo hum BigInt mein use karte hai) 2. Preference datatype (Non Primitive datatype) 1. Array ( [ ] ) 2. Object ( { } ) 3. Function ( function( ){ } )
CLEARLY UNDERSTANDABLE PLAYLIST MAJA AA GAYA SIR ITNA ARRAM SE THO SIRF APP HI COURSE COVER KAR SAKTE HOO ....THANKU YOU ARE A VERY GOOD TEACHER APPRECIATE YOUR TEACHING STYLE EASY WAY MAI THANKU JIII😀😇😇😇
Thank you for making such a beautiful javascript tutorial. Because You teach the actual javascript which is necessary for actual production development need. Very Very thank you. I will share your channel as much as possible to everyone. I really like your teaching style and I aslo need that type of javascript teacher. God bless you.
sir mene ye concept phle bhi padha hai but smj nhi aya tha. Complex krke padhya tha teacher nai but apne bhot easy way mai explain krdiya stack and heap
Primitive Types: 1. Stored in stack. 2. Passed or assigned by value (call by value). 3. Changes to copies don't affect the original. Reference Types: 1. Stored in heap; accessed via references (stored in stack). 2. Changing the value through another reference affects the original.
hey hitesh, i am from Pakistan, and I had A lot of confusing regarding this concept I tried hard to understand it by chatGPT and also with other CZcams videos, but I was unable to understand this concept, thank you so much,
"Hey Chai or Code and Hitesh Choudhary, I'm on the edge of my seat in anticipation for the backend full series and DSA series on this channel! ☕💻 Your content is like the perfect blend of coding wisdom and the soothing essence of chai, and I can't wait to dive deep into these topics with your expert guidance. Keep brewing up those fantastic tutorials, and I'll keep sipping and coding along! 🚀🔥"
Great explanation sir, Event loop bhi issi tarah se explain kar dijiye, woh bahot confusing hai. We know things but koi puche toh explain nahi kar pate ache se
Well Sir, agar me ne chaey pehley hi pi li ho, or bad me is lecture ko dekh raha hun, koi tension to nahi??? hahahaha.. just for fun, Sir you are doing great. I really like you, Stack and Heap is root of any Programming language, but mostly mentor don't touch it, but you're covering this one also,, nice, great, marvellous.
Thank you so much sir!! Welcome Back! But sir Kya ye sahi ki whole day wait kre aur Next day bs ek video 🥲🥺 I know aap busy h kaafi but ye dil h ki Manta nahi.🥲
//datatypes are based on memory allocation
Primitive datatypes-> call by value (string,number,boolean,null,undefined,BigInt,symbol) ->Stack memory
Reference/Non primitive data types -> call by reference ( array,object, function) -> heap memory
JavaScript is a dynamically typed language. This means that you don't need to specify the data type of a variable when you declare it.
thanks for the summary ❤
shouldn't non primitive data type be call by address?
There are 2 types of datatype
1. Primitive datatype:-
1.String
2. Number
3. Boolean (true / false)
4. null (iska matlab hai empty or zero nahi hai)
5. undefined (aapne variable declare kardiya hai but usmein aap kya value dalenge aapne decide nahi kiya hai)
6. Symbol (kisi bhi value ko unique banane ke liye use kiya jata hai)
7. BigInt (jo badi values hoti hai oo hum BigInt mein use karte hai)
2. Preference datatype (Non Primitive datatype)
1. Array ( [ ] )
2. Object ( { } )
3. Function ( function( ){ } )
anything in js other than primite data types are object
One correction
Preference ❌ - Reference ✔️
Reference Datatype* not Preference
Thank You Brother
"Hats off to Chai aur Code for transforming my coding experience. Clear, concise, and captivating!"
Teacher Teach Tech Tremendously! Usually I am not complete most of the courses more than 20% but i touch video 10, is one of the milestone for me!
CLEARLY UNDERSTANDABLE PLAYLIST MAJA AA GAYA SIR ITNA ARRAM SE THO SIRF APP HI COURSE COVER KAR SAKTE HOO ....THANKU YOU ARE A VERY GOOD TEACHER APPRECIATE YOUR TEACHING STYLE EASY WAY MAI THANKU JIII😀😇😇😇
Thank you Sir for making the difficult concept extremely simple. God bless you.
Yeh different tha...Jo mein ny seekha.... shukr ha koi Essa teacher CZcams Py mil geya
simple precise short and meaningful. Thanks mentor.
the best programming teacher ..from Pakistan ❤
I was confused when I tried express js. now cleared. Thanks a lot 🙏🙏🙏
calm and peaceful and enjoyful explanation
mjaa aa gya ek dm
Amazing video! Well explained stack and heap memory
sir jii aap ne toh bolte tha ki sab log asie hi padte h but asa nhi h guru jii apne lag hi level se padya h guru jii ur amazing 🫡🫡🫡🫡🫡
Explanation was great ,too easy to understand ,Subscribed😁
Thank you for making such a beautiful javascript tutorial. Because You teach the actual javascript which is necessary for actual production development need. Very Very thank you. I will share your channel as much as possible to everyone. I really like your teaching style and I aslo need that type of javascript teacher. God bless you.
it's not free, It's most valuable class for us
Fir share krke linkedin pe tag to nhi aaya sir 😁
@@chaiaurcode will do it sir. Thank you for your reply.
@@chaiaurcode karne ke bad ap kuch repost ey like bhi tho nahi karte mai apko kita tag karta hu
Clear and concise ,thankyou.
pehli baar aaya is channel pe. sir! your style of teaching is another level🔥. i forgot all the other channels.....
sir Ur teaching style is great 👍 itna easily samjha diye ...
Literally nobody taught this on entire CZcams in javascript your the first ❤
is se zda asan mane aj tak ni smjha topic sara smjh a gya tusi great oo ustad ji love you from pakistan
One of the best explanation on Stack and Heap memory ❤
This course is best as compared to any other paid courses out there! 👽Hard work is appreciated by heart
😍 Love the way you simplified. If teaching is an Art you are Leonardo da Vinci.
I love you
getting in-depth knowledge. Thanks sir
asaanni say seekh lia .... zabardast. learned after a long time in a simple way. Great Job
9:45 sir topic difficult hai
but apne esko easy way mai explain krke easy topic bana diya hai
thank you and keep uploading
Omg it was too easy i made it too difficult to understand. Thank u so much❤
Bohut sundar hindi kaha apne aaj. 👏👏
😀😀😀 best and easy way to explain. that is best one playlist .
thank you bhaiya for giving us ur precious time and attention.
was confused in this concept from FSJS bootcamp 2, now cleared, thanks sir,
Glad to hear that
Best explanation of stack and heap keep it up !
Easily Explained.
Thanks.
Quality content is always underrated ❤️
#ThankYouHiteshSir
Agree
5:37 Really amazing , before the code running got the things !! Great Sir !
best Series ALL OVER UNIVERSE, thank you Sir 🙏
such a good explaination, thank you
i am from pak.. you nailed this concept in my mind man
sir mene ye concept phle bhi padha hai but smj nhi aya tha.
Complex krke padhya tha teacher nai
but apne bhot easy way mai explain krdiya stack and heap
such a good explaination🔥🔥
mind blowing. It is so easy to learn from you sir. Cont day 2
Primitive Types:
1. Stored in stack.
2. Passed or assigned by value (call by value).
3. Changes to copies don't affect the original.
Reference Types:
1. Stored in heap; accessed via references (stored in stack).
2. Changing the value through another reference affects the original.
Really sir you are really the best teacher
You made it very easy to understand
thanks itne ache content k leay !
hey hitesh, i am from Pakistan, and I had A lot of confusing regarding this concept I tried hard to understand it by chatGPT and also with other CZcams videos, but I was unable to understand this concept, thank you so much,
A little bit complex but after watching this video for 3 to 4 times, I got this topic of Stack & Heap. 🤗
Very well explained! 👏👏
Kya baat hai Sir Ap ki....very well
I think this is best channel on CZcams
You are great teacher
ab jaake kuch baat bani thank you bro
Primitive Datatypes
Number => number
String => string
Boolean => boolean
null => object
undefined => undefined
Symbol => symbol
BigInt => bigint
2) Non-primitive Datatypes
Arrays => object
Function => function
Object => object
Very complex concept easily explained
Heap memory wala bahut interesting tha bhaiya...
"Hey Chai or Code and Hitesh Choudhary, I'm on the edge of my seat in anticipation for the backend full series and DSA series on this channel! ☕💻 Your content is like the perfect blend of coding wisdom and the soothing essence of chai, and I can't wait to dive deep into these topics with your expert guidance. Keep brewing up those fantastic tutorials, and I'll keep sipping and coding along! 🚀🔥"
chatgpt
Great explanation sir,
Event loop bhi issi tarah se explain kar dijiye, woh bahot confusing hai.
We know things but koi puche toh explain nahi kar pate ache se
I DONT KNOW WHY I SUBSCRIBED YOUR CHANNEL, BECAUSE I NEVER SUBSCRIBED ANY CHANNEL. I THINK YOU ARE THE BEST, THAT'S WHY.....THANKS
very smooth explaination
#10 tutorial thanks for this tutorial 🙂
very useful this series
So simple to understand
Concept clear💡
yesssss just completed 10 videos with proper understanding
Excellent 😀
Thank you so much sir 😊
Amazing Video 😃
Dhanyawad guruji 🙏
Well Sir, agar me ne chaey pehley hi pi li ho, or bad me is lecture ko dekh raha hun, koi tension to nahi??? hahahaha.. just for fun, Sir you are doing great. I really like you, Stack and Heap is root of any Programming language, but mostly mentor don't touch it, but you're covering this one also,, nice, great, marvellous.
hello, bhaiya aapki videos best hain please nodejs aur express js pe bhi series ka sochiye
#king's explanation ❤
Easy sir thanks for sharing.
thanks for the videos😃😃
Thank you so much sir!! Welcome Back!
But sir Kya ye sahi ki whole day wait kre aur Next day bs ek video 🥲🥺 I know aap busy h kaafi but ye dil h ki Manta nahi.🥲
Consistency aa jaye 1 baar is channel pe, fir speed b aa jayegi 😁
Great Info
Thanks a lot sir
GREAT EXPLANATION
bahut mja aa rha h sikhane me
great sir
amazing video🤗🤗🤗🤗🤗🤗
oho tatprya word sunke maza aya gaya sir 😀
This man is ❤❤❤
thank you so much
osm simple example
Nice Video
When the topics are really tough, Hitesh sir makes it easy and makes it understandable. ☕&
OG teach in the house
copy in stack memory and reference in heap , a little more example needs to clarify it, so we demand more
awesome
sir mai daily lecture apka dekhta hu aur js sikhata hu
Amazing
Great
Thank you
Understand ❤
Already shared sir ... Ab kitna kru bahut kiya share aage Achha lgega toh share krunga 🤪
Awesome
hitesh sir op
WOOWW🥰🥰🥰
Literally u made it a halwa!!!!