Definition, Meaning & Synonyms
var
keyword
vahr

Definition
A keyword used in programming languages to declare a variable.

Examples
- In JavaScript, you can create a variable by using the keyword
var
:var age = 25;
- Using
var
allows you to store values that can change later in your program. - The
var
keyword is often compared tolet
andconst
for variable declaration.

Meaning
It is short for ‘variable’ and is commonly used in languages like JavaScript to define a reusable storage location for data.

Synonyms
- variable
- identifier
- storage location