title: I am trying to test elements in two arrays, and the first element in the second array is not getting tested
body: <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>function six(sll) {
    let list = [];
    for (i = 0; i &lt; sll.length; i++) {
      console.log(sll[i]);
      //these are my if statements to test elements
      if (sll[i].slice(0, 1) !== "e" &amp;&amp; sll[i].length &lt; 6) {
        list.push(sll[i]);
      } else if (sll[i].length &gt; 6 &amp;&amp; sll[i].slice(0, 1) === "e") {
        list.push(sll[i]);
      }
    }
    return list;
  }
  //this is my first array
  let sxt = ["taco", "eggs", "excellent", "exponent", "artistic", "cat", "eat"];
  console.log(six(sxt));
  //this is my second array and the word eating is not being tested
  let xxx = ["eating", "proper", "key", "earth"];
  console.log(six(xxx));</code></pre>
  </div>
  </div>
  </p>