title: How does parentheses work in arrays? (javascript)
body: <p>I don't get why <code>this.array[0]</code> equals <code>1</code> if <code>this.array[0] = [(2,1)]</code>?
  What does Javascript do with the 2 and how do i reach/use it? How does parenthesis work inside arrays?</p>
  
  <p>I'd like to do different things with <code>X</code> if the boolean before it is true or false. 
  <code>this.array[0] = [(true, X)]</code> and <code>this.array[0] = [(false, X)]</code>.</p>