1. Computing & Technology

Var

From , former About.com Guide

See More About:
Definition: The var statement is used to define a new variable that will be used in later processing. The scope of the variable will be the same as the scope of the block in which it is defined. Var is a reserved word and cannot be used for anything other than to define a new variable.
Examples:
var x = 5;
Related Searches scope

©2012 About.com. All rights reserved.

A part of The New York Times Company.