Skip to content

Glossary: Algorithms Beyond the Basics in JavaScript

32-bit integer

Also written: 32-bit signed integer

The kind of number JavaScript converts to before running a bit operator: only 32 bits are kept, and the top bit means negative. That is why `1 << 31` is negative and masks should stay at 30 or 31 options.

Where the book teaches it

Related terms

Bit operatorsBigIntBitmask