Glossary: JavaScript Beyond the Basics
var
The old way to declare a variable. It ignores blocks, belongs to the whole function and is `undefined` before its line; never use it in new code.
Glossary: JavaScript Beyond the Basics
The old way to declare a variable. It ignores blocks, belongs to the whole function and is `undefined` before its line; never use it in new code.