mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-01-19 00:02:27 -05:00
336 B
336 B
title
| title |
|---|
| Multiply Two Numbers with JavaScript |
JavaScript uses use the * symbol for multiplication.
Here is an example:
var product = 8 * 10;
the 'product' would have the value '80' after this line.
When making calculations it is possible to use parentheses to prioritise which numbers should be multiplied together.