JS.10.1 Variable Definition

A variable statement inside a function declares a local variable. A variable statement outside of a function body declares a global variable.

var val;

var array1 = [1, 2, 3];

<< JS.10 JavaScript Statements © 1996-2013 InetSoft Technology Corporation (v11.5) JS.10.2 Function Definition >>