Files
developer-roadmap/roadmaps/javascript/content/var@JSjeM8qnBg4onXq9mn5gB.md
Arik Chakma 274082fd77 feat: clean roadmap content and sync scripts (#10181)
* refactor: clean to roadmap content

* refactor: move shared helpers into scripts/lib
2026-07-28 05:45:17 +06:00

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)