There is an bit operation expression in js.
const a = ~(1 << 31)
How to express it in rescript?
There is an bit operation expression in js.
const a = ~(1 << 31)
How to express it in rescript?
You can use the equivalent operators:
let a = lnot(lsl(1, 31))