What are JavaScript types?

Answer Posted / yvar

"Types" in programming languages refer to the type of value
a language recognizes.
Javascript recognizes 5 types:

Numbers (1, 2, 3, 59.45 etc.)
Booleans (true,false)
Strings ("Hello")
null (no value)
undefined (type of value is not defined)

Is This Answer Correct ?    52 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are Attributes and Property the same?

790


How do I write script-generated content to another window?

718


Define event bubbling?

698


What is a name function in javascript?

732


Does javascript support automatic type conversion?

889


I am providing the Online& class room training on Worksoft Certify for SAP/HTML/JAVA using real time scenarios in a real time environment for a real time project, If any one is interested please get in touch with me on aimansaud@gmail.com

1275


Write a program to reverse a string in pure javascript?

717


What are nodes in javascript?

674


How do I run javascript in chrome?

681


Does javascript support foreach loop?

742


what is the difference between the below two statements:- (1) var myname = "akiii"; (2) myname = "akiii";

741


Why is javascript so hard?

654


What is dataview in javascript?

684


Is everything in javascript asynchronous?

662


What is an object in javascript, give an example?

705