JavaScript Variable Types

From Techotopia
Revision as of 19:51, 11 April 2007 by Neil (Talk | contribs)

Jump to: navigation, search

JavaScript supports five different types of variable. These variable types are outlined in the following table together with a brief description of each type:

TypeExampleDescription
number1, -31, 0.023The number variable holds any type of number, either an integer or a real number.