title: if else statements being skipped, even if true
body: <p>I have a basic table in javascript and a few lines of code where I compare the first values from each of the two tables. It skips the 'else if' statement and just goes straight to the 'else' at the end, when the 'else if' condition is true. I'm pretty new to all this so I won't be surprised if I messed up somewhere obvious. Any help is much appreciated.</p>
  
  <pre><code>var firstEquation = ['2', 'x', '+', '1', 'y', '=', '8'];
  var secondEquation = ['3', 'x', '-', '1', 'y', '=', '7'];
  
  if ( firstEquation[1] &gt; secondEquation[1] ) {
      print("Outcome 1");
  } else if ( firstEquation[1] &lt; secondEquation[1] ) {
      print("Outcome 2");
  } else {
      print("Else");
  }
  </code></pre>