JavaScript Bitwise Operations | Javascript | Bitwise operator

preview_player
Показать описание
JavaScript stores numbers as 64 bits floating point numbers, but all bitwise operations are performed on 32 bits binary numbers.

Before a bitwise operation is performed, JavaScript converts numbers to 32 bits signed integers.

After the bitwise operation is performed, the result is converted back to 64 bits JavaScript numbers.

JavaScript Bitwise Operations | Javascript | Bitwise operator
Рекомендации по теме