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 5 years ago
Was this helpful?