I know that there is a Boolean object in JavaScript, but I’m wondering if there is a way to access the metal, the raw single bit that lives at the heart of this Boolean object.
I know that there is a Boolean object in JavaScript, but I’m wondering if
Share
I don’t know of any
bittype in javascript. If you’re worried about conserving space and need to store a lot of bits, you could probably useints and Bitwise Operators in conjunction. You’d be manipulating the individual bits within each int (so 32 on most systems)