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

Can we create session in javascript?

657


How to achieve inheritance in javascript?

709


Example of using regular expressions for syntax checking in javascript?

646


When do we use JSON.stringify()?

752


What is the difference between window and document in Javascript?

748


Javascript, Pass by Value or Pass by Reference?

711


Define unescape() function?

705


Is it safe to use javascript?

698


How much do javascript programmers make?

667


What does => mean in node js?

748


What is a closure and why are they so useful to us?

731


What is escape() function?

708


Is javascript free to install?

740


In javascript what is an argument object?

848


How can you declare a class in javascript?

771