JavaScript Variable Types
From Techotopia
JavaScript supports five different types of variable. These variable types are outlined in the following table together with a brief description of each type:
Type | Example | Description |
---|---|---|
number | 1, -31, 0.023 | The number variable holds any type of number, either an integer or a real number. |