Category: Math
Multiplies two numbers.
All programming languages support the basic arithmetic operations of addition, subtraction, multiplication and division of numbers.
// Multiply two numbers. console.log(3*5); var x=3; var y=5; console.log(x*y);
___ * ___
Name | Type | Required? | Description |
---|---|---|---|
___ | any | Yes | The operands can be a number, or a variable containing a number, or the number returned by a function, or the numeric result of the evaluation of an expression. |
The product of two numbers.
Found a bug in the documentation? Let us know at documentation@code.org
num1 * num2;
A number, the result of multiplying two numbers.
Found a bug in the documentation? Let us know at documentation@code.org