Numbers and Math
Learn how JavaScript handles numbers and mathematical operations.
What you should understand
Read the lesson carefully, study the example, then use the editor below to experiment with the code yourself.
let price = 100;
let quantity = 3;
let total = price * quantity;
console.log('Total: ' + total);
Output
See what your code produces.
Test your understanding
Choose the best answer.
Which structure is used to store multiple values?