I don't know any type bitin javascript. If you are concerned about saving space and the need to store a lot of bits, you probably can use intand Bitwise Operators . You will be manipulating individual bits within each int (therefore 32 on most systems)
source
share