title: Is there a Boolean Typed Array in JavaScript?
body: <p>If I do:</p>
  
  <pre><code>var arr=Uint8Array(1);
  arr[0]="hi";
  console.log(arr[0]);
  </code></pre>
  
  <p>The result is <code>0</code> instead of <code>"hi"</code>. That’s because that type of object (<code>Uint8Array</code>) only admits 8-bit unsigned integers as values for its items.</p>
  
  <p>Is there some type of array-like object made to store <em>only</em> boolean (<code>true</code>/<code>false</code>) values?</p>
  
  <p>How can I create an object of that type?</p>
  
  <p>Note: Please, don’t use <code>watch</code>; it’s not cross-browser. I’m going to use it in any browser.</p>