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

How do you know if a set of points is a function?

439


What is a javascript symbol?

468


How javascript sort function works?

527


What is number in javascript?

417


Where can I learn javascript?

510






Which software is used for javascript?

444


If you need to hide the javascript code from the older browser versions, how will you perform it?

496


What is the naming conventions for the variables in javascript?

483


What is the prototype object in javascript and how it is used?

505


What is the most widely used programming language?

436


How to set a html document's background color?

525


Which companies are using node js?

419


Why do you need javascript?

460


How to convert “20” to number in javascript?

493


Which built-in method reverses the order of the elements of an array?

502