411 REFERENCE · Wikibooks
JavaScript/Reserved words/var
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
JavaScript typeof void Reserved words 0
The var keyword
The var keyword is optional and used to declare a variable. This operator is necessary if the code includes the line "use strict;".
Syntax
var variable[, variable2, …];
Examples
var number = 17;
number += 2; // number is now 19
var theArray = new Array();
JavaScript typeof void Reserved words 0