title: Outcome of [1][1] and [1][0] in JavaScript
body: <p>I have a question regarding the outcome of this in JavaScript as I don't really understand it. Why if I use this code it gets the next result:</p>
  <pre><code>var a =[1][1];
  var b = [1][0];
  if(a){console.log(true);}else{console.log( false);} --&gt; returns false
  
  if(b){console.log(true);}else{console.log(false);} --&gt; returns true
  </code></pre>
  <p>How to explain the exact way of how JavaScript interprets these results?</p>