Multiplication
suggest changeThe * operator multiplies numeric values. Operands are converted with ToNumeric. A Number and a BigInt cannot be multiplied. That throws TypeError.
console.log( 3 * 5); // 15
console.log(-3 * 5); // -15
console.log( 3 * -5); // -15
console.log(-3 * -5); // 15
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents