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

What are the five data types?

520


what is the different between html and java?why the java is required in internet?

1787


Which built-in method combines the text of two strings and returns a new string?

754


Is it safe to use javascript?

584


What is event in web programming?

577






How typeof operator works?

649


What is Browser Object Model?

627


What are a fixed-width table and its advantages in javascript?

563


Difference between undefined and undeclared variables?

599


Explain higher-order functions in javascript?

594


What is the use of a weakmap object in javascript?

573


How do you reverse a string in javascript?

533


How many types of functions JavaScript supports?

594


Name some of the Javascript frameworks?

634


Are javascript variables global?

567