Javascript data types and values
Javascript type<! –more–>
+Five basic data types
- number, The special ones are NaN, Infinity, and Infinity. NaN (Not a Number) is actually of type Number
- string
- boolean
- undefined, The only value is undefined
- null, The only value is null
+All others are object data types, including arrays
+One thing to note is that all values can be converted to true (through!!)!! Except for the following six false values - “”
0 - null
- undefined
- NaN
- false
All articles on this blog are licensed under CC BY-NC-SA 4.0 unless otherwise stated.