~
The bitwise NOT operator "~" will invert the bits on the 32-bit signed integer it is applied to.
console.log(~2); // -3 console.log(~3); // -4 console.log(~4); // -5