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

Should I disable javascript?

701


Write about the errors shown in javascript?

666


What is spread syntax?

704


What is "this"?

702


What is ‘this’ keyword in JavaScript?

761


How to get value from dropdown (select) control?

783


List few difference between java and javascript?

718


What is a framework programming?

664


What is JavaScript?

1038


What's math constants and functions using javascript?

761


Why does the browser display the slow script warning?

751


Are you concerned that older browsers don't support javascript and thus exclude a set of web users? Individual users?

789


what is the function of public class main ?

1774


Explain the difference between “==” and “===”?

772


how to read and write a file using JavaScript?

780