What are JavaScript types?

Answer Posted / satinder virdi

In JavaScript, there are three primary data types, two composite data types, and two special data types.

#Primary Data Types
 The primary (primitive) data types are:

->String
->Number
->Boolean


#Composite Data Types
 The composite (reference) data types are:

->Object
->Array


#Special Data Types
 The special data types are:

->Null
->Undefined


-------------------------------------
https://msdn.microsoft.com/en-us/library/ie/7wkd9z69(v=vs.94).aspx

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a prompt box in javascript?

698


What are the different functional component in javascript?

666


What is the difference between null and undefined?

832


What does javascript do?

656


How can you create an Array in JavaScript?

756


List out the different ways an HTML element can be accessed in a Javascript code?

958


What is built in function in javascript?

690


What are the boolean operators supported by javascript? And operator: &&

675


What can be the challenges during testing a program or a system?

1978


What is let keyword in typescript?

748


Is javascript enabled on my computer?

659


What does the operator do in javascript?

653


How to set the cursor to wait?

666


If 2 methods have same name and same number of parameters, which one will be executed first?

715


What is enum data type?

663