---
meta:
  title: Bitwise NOT
  description: The bitwise NOT operator "~" will invert the bits on the 32-bit signed integer it is applied to.
---

The bitwise NOT operator "~" will invert the bits on the 32-bit signed
integer it is applied to.

```javascript
console.log(~2); // -3
console.log(~3); // -4
console.log(~4); // -5
```
