➕division (/)
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
JS ⟩ operator ⟩ arithmetic ⟩ division (/)
a / b // floating-point division
/ operator
👉 table of operators
(all numbers are floating-point)
all division have results. (5/2 === 2.5
)
division by zero yields ± (no error)❗
0/0 evaluates to (no error)❗
💡neither of these cases raises an error❗