Operators
Multiplication operator (*)
Multiplication converts operands to numeric values and multiplies them. Both operands must use the same numeric type after conversion; mixed Number and BigInt arithmetic throws TypeError.
Formal Syntax & Structure
javascript syntaxjavascript
left * rightParameters & Attributes
| Name | Type | Description |
|---|---|---|
| left | expression | First factor. |
| right | expression | Second factor. |
Return Value
number | bigint
Numeric product.
Working Example
Example Snippetjavascript
console.log(6 * 7);