Mark As Completed Discussion

Variables

Variables can store and manipulate data in a programming language. Data values can be assigned to a variable using the assignment operator-- which is the equal sign (=). Once a value is assigned to the variable, it corresponds to that value unless it is re-assigned. Note: re-assignment touches upon mutability, which we'll cover later.

Let's see some code examples in JavaScript below.