Division
Syntax
x / yExplanation
The division operator returns the quotient of the two operands as a new number.
Examples
1 / 2 // 0.5
0 / 1 // 0
4 / 2 // 2Last updated
Was this helpful?
x / yThe division operator returns the quotient of the two operands as a new number.
1 / 2 // 0.5
0 / 1 // 0
4 / 2 // 2Last updated
Was this helpful?