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

Name the datatypes of javascript?

623


What is bom?

579


What is the use of a date object in javascript?

647


What is a noscript tag?

540


What do mean by NULL in Javascript?

613






Why do we need to declare variables?

552


How can a Javascript code redirect the user to a different page?

618


TypeError: document.getelementbyid(...) is null?

643


How to detect the operating system on the client machine?

567


Is javascript array dynamic?

564


What is a closure in javascript?

666


To write messages to the screen without using "document.write()"?

541


Is python better than javascript?

525


What does the isNaN() function?

638


How to handle event handlers?

584