Operators

Multiplication operator (*)

Try the free JavaScript compiler

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 * right

Parameters & Attributes

NameTypeDescription
leftexpressionFirst factor.
rightexpressionSecond factor.

Return Value

number | bigint

Numeric product.

Working Example

Example Snippetjavascript
console.log(6 * 7);
JavaScript Reference