Syntax Lookup

Enter some language construct you want to know more about.
This is the integer division operator.

This operator performs integer division, with the result truncated to an integer value.

If the second argument is zero then a Division_by_zero exception is thrown. Refer to the Exception section for handling exceptions.

ReScriptJS Output
let result = 3 / 2

For dividing floats see the /. operator.