Account
Categories

Multiplication Operator


You use the multiplication operator (*) in a webpage for mathematical calculation. It helps in multiplying two values (numbers), which are also called operands, and together with the asterisk (*), they perform the multiplication.

Syntax:
let result = left_operand * right_operand;
Example:
let a = 5;
let b = 4;
let mul = a * b;
console.log("The multiplication is: " + mul);
Output: