Geoff Chappell - Software Analyst
SKETCH OF HOW RESEARCH MIGHT CONTINUE AND RESULTS BE PRESENTED
var declarator [[ , declarator ]...] ;
where each declarator has the form
identifier [ = expression ]
One declarator is required. Each subsequent declarator is introduced by a comma. Each declarator must begin with an identifier. An equals sign after this identifier is optional and must be followed by an expression. Termination by a semicolon is ordinarily required.
For a var statement given as the first placeholder in a for statement or for-in statement, expression can include the in operator only in a nested term.