Mark As Completed Discussion

In this lesson, we will discuss the use of variables in programming, with a focus on the following key points:

  1. What are variables, and how are they used in a computer program?
  2. Learn to work with math operations in JavaScript.

For the Python version of this lesson, please click here.

The act of storing information in programming languages is important. Often, during simple or complex calculations, we need to reference some saved information at a later point. In programming languages, this storing of information is performed using variables. In this lesson, we will discuss how variables are used, and some basic math operations that can be utilized.