Stack and Heap memory in javascript

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

//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.

LearnerAbhi
Автор

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( ){ } )

Talha_
Автор

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😀😇😇😇

Anshuverma
Автор

"Hats off to Chai aur Code for transforming my coding experience. Clear, concise, and captivating!"

BitFire
Автор

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!

iamkmsyed
Автор

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.

niteshkushwaha
Автор

it's not free, It's most valuable class for us

ajaysinghrathour
Автор

Yeh different tha...Jo mein ny seekha.... shukr ha koi Essa teacher YouTube Py mil geya

rabiafaisal
Автор

9:45 sir topic difficult hai
but apne esko easy way mai explain krke easy topic bana diya hai
thank you and keep uploading

namansharmacsb
Автор

Thank you Sir for making the difficult concept extremely simple. God bless you.

SounakSaha-nhqm
Автор

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 🫡🫡🫡🫡🫡

RajeevTutorials-iijc
Автор

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

priyadarshiranjan
Автор

😍 Love the way you simplified. If teaching is an Art you are Leonardo da Vinci.

believeyou
Автор

Watching this playlist for the second time. Each time I am learning new things and my JS concepts are clearing more.

shahriarhossain
Автор

was confused in this concept from FSJS bootcamp 2, now cleared, thanks sir,

vivektiwari
Автор

Thank you sir, i won smart india hackathon so much Hitesh sir

harsitcreatorsproop
Автор

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.

yogeshkumarpatil
Автор

calm and peaceful and enjoyful explanation

mjaa aa gya ek dm

shailenderjaiswal
Автор

pehli baar aaya is channel pe. sir! your style of teaching is another level🔥. i forgot all the other

anmol.rajput.
Автор

Literally nobody taught this on entire YouTube in javascript your the first ❤

samuelfernandes