Multiplication

Syntax

x * y

Explanation

The multiplication operator returns the product of the two operands as a new number.

Examples

2 * 3 // 6
-2 * 3 // -6
-2 * -2 // 4
Last modified 3yr ago