Grammar and Readability (#27602)
* Grammar and Readability * fix: corrected some typos
This commit is contained in:
committed by
Randell Dawson
parent
ee36db5841
commit
a960147c5a
@ -1,12 +1,12 @@
|
|||||||
---
|
---
|
||||||
title: Multiply Two Numbers with JavaScript
|
title: Multiply Two Numbers with JavaScript
|
||||||
---
|
---
|
||||||
JavaScript uses use the `*` symbol for multiplication.
|
JavaScript uses the `*` symbol for multiplication.
|
||||||
|
|
||||||
Here is an example:
|
Here is an example:
|
||||||
|
|
||||||
var product = 8 * 10;
|
var product = 8 * 10;
|
||||||
|
|
||||||
the 'product' would have the value '80' after this line.
|
The variable `product` would have a value of `80` after this declaration.
|
||||||
|
|
||||||
When making calculations it is possible to use parentheses to prioritise which numbers should be multiplied together.
|
When making calculations, it is possible to use parentheses to prioritise which numbers should be multiplied together.
|
||||||
|
Reference in New Issue
Block a user