mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-16 21:06:35 +08:00
315 B
315 B
| title |
|---|
| Multiply Two Numbers with JavaScript |
JavaScript uses use the * symbol for multiplication.
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.