Understanding Variables and Data Types in JavaScript
Variables — Containers for Storing Data
A variable is a container where you can store data. In JavaScript, there are 3 ways to declare variables:
• var — Old method, function-scoped, can be overwritte
birendra.site2 min read