Back to course home
0% completed
JavaScript - Variables
What are Variables?
In programming, variables are used to store information that can be used later in your code. Think of a variable as a container that holds data. You can name this container anything you like, and then use that name to access the data stored in it.
Types of Variables
In JavaScript, there are three ways to declare a variable:
var
let
const
For now, we'll focus on var
to keep things simple.
Declaring a Variable
To create a variable, you need to declare it
.....
.....
.....
Like the course? Get enrolled and start learning!
Table of Contents
Contents are not accessible
Contents are not accessible
Contents are not accessible
Contents are not accessible
Contents are not accessible