JavaScript Bitwise NOT (~)
Description
The Bitwise NOT Operator (~) inverts all the bits (sets each 0 bit to 1 and each 1 bit to 0).
Learn More:
Browser Support
~
is an ECMAScript1 (JavaScript 1997) feature.
It is supported in all browsers:
Chrome | Edge | Firefox | Safari | Opera |