Arithmetic Multiplication
*
symbol is used for arithmetic multiplication operator
arithmetic multiplication operator takes two values/variables as operands and returns their product
a * b //variables
6 * 4 //values
more than two values/variables can be multiplied in a single expression by chaining multiplication operator
a * b * c * d //variables
6 * 4 * 5 * 10 * 85 //values
Examples
1. multiplication of values in a
and b
var a = 10;
var b = 25;
var product = a * b;
console.log(product);
2. multiplication of more than two values/variables
var a = 10;
var b = 25;
var c = 14;
var product = a * b * c;
console.log(product);