mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2026-11-28 01:46:57 +08:00
* refactor: clean to roadmap content * refactor: move shared helpers into scripts/lib
9 lines
479 B
Markdown
9 lines
479 B
Markdown
# [var] keyword
|
|
|
|
The var statement declares a function-scoped or globally-scoped variable, optionally initializing it to a value.
|
|
|
|
Visit the following resources to learn more:
|
|
|
|
- [@article@var keyword - MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/var)
|
|
- [@article@JavaScript Variables](https://javascript.info/variables)
|
|
- [@video@Declaring Variables without Var, Let, Const - What Would Happen?](https://www.youtube.com/watch?v=6UAKBYpUC-Y) |