freeCodeCamp/guide/english/javascript/multiply-two-numbers-with-j.../index.md

11 lines
315 B
Markdown
Raw Normal View History

2018-10-12 19:37:13 +00:00
---
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.