โdivision (/)
JS โฉ operator โฉ arithmetic โฉ division (/)
๐ table of operators
/ operator
๐ table of operators
(all numbers are floating-point) all division have floating-point results. (
5/2 === 2.5
)division by zero yields ยฑinfinity (no error)โ
0/0 evaluates to NaN (no error)โ
๐กneither of these cases raises an errorโ
Last updated
Was this helpful?