0% found this document useful (0 votes)
19 views1 page

There Are Two Type of Java Script.

JavaScript has two types of data types: primitive (number, strings, boolean, bigint, null, undefined) stored in stack memory, and non-primitive (array, objects, function, symbols) stored in heap memory. JavaScript is a synchronous language. Variables are managed in stack memory when they are created.

Uploaded by

ranshuman706
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views1 page

There Are Two Type of Java Script.

JavaScript has two types of data types: primitive (number, strings, boolean, bigint, null, undefined) stored in stack memory, and non-primitive (array, objects, function, symbols) stored in heap memory. JavaScript is a synchronous language. Variables are managed in stack memory when they are created.

Uploaded by

ranshuman706
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

there are two type of java script.

1.primitive= number,strings,boolean,bigint,null,undefined
2.Non-primitive=array, objects, function, symbols.

primitive datatypes are stored in stack memory


non primitive datatypes are stored in heap memory

java script is a sync crones language

whenever a variable go in stack memory ]

You might also like