Data Types
Primitive Data Types
Number Any number
\
String Any continous set of alphabets inside single or double inverted commas
\
Boolean Two values
true
false
\
Null You can assign null to a variable to denote that currently that variable does not have any value but it will have later on. A null means absence of a value.\
Undefined Undefined property indicates that a variable has not been assigned a value, or not declared at all.\
Symbol
Object
Last updated