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