variable declaration

noun
UK /ˈveəriəbl ˌdekləˈreɪʃn/
US /ˈveriəbl ˌdekləˈreɪʃn/

A variable declaration is when you tell the computer to make a named box to hold a value.

The line 'let score = 0;' is a variable declaration that creates a box called score.


OTHER MEANINGS

2. In programming, the statement that introduces a new variable name and its type to the compiler.

In C, 'int count;' is a variable declaration without an initial value.

3. In mathematics or logic, the formal introduction of a symbol to stand for an unknown or changing quantity.

The proof begins with a variable declaration letting x stand for any real number.

4. In everyday speech, an official or formal announcement of something that can change.

The coach's variable declaration about the lineup confused the players.