Bitwise NOT Operator (~) | How to JavaScript #shorts

preview_player
Показать описание
The bitwise NOT operator (~) flips the 0's and 1's in a binary representation of a number. You'd think that ~true === false... well, it's not, ~true === -2

---
#JavaScript #HowTo
Рекомендации по теме
Комментарии
Автор

Thanks for videos. Where it will be useful?

caveofmovies
visit shbcf.ru