Variables

Variables are user-defined names that temporarily store data such as numbers, strings, or other objects (a string, a limit, a chart, a pivot, and so on). Variables can be created and defined when the variable is needed, or formally declared at the beginning of the script. Variables can be either local or global and have two important characteristics:

JavaScript Basics introduces the use of variables in JavaScript scripts.