title: startsWith is not a function getting called for no reason
body: <p>I have this code:</p>
  <pre class="lang-js prettyprint-override"><code>for (var i = 0; i &lt; value.length; i++) {
      if (typeof value[i].keyword == 'undefined' || value[i].keyword == null || value[i].keyword.startsWith(keyword)) {
          out.push(value[i]);
      }
  }
  </code></pre>
  <p>I am getting an error message saying:</p>
  <blockquote>
  <pre><code>&gt; TypeError: r[e].startsWith is not a function
  &gt;    at js-cf2cc68….min.js.gz:85
  &gt;    at fn (eval at compile (js-cf2cc68….min.js.gz:8), &lt;anonymous&gt;:4:1003)
  &gt;    at js-cf2cc68….min.js.gz:7
  &gt;    at p.$digest (js-cf2cc68….min.js.gz:7)
  &gt;    at p.$apply (js-cf2cc68….min.js.gz:7)
  &gt;    at HTMLBodyElement.&lt;anonymous&gt; (js-cf2cc68….min.js.gz:9)
  </code></pre>
  </blockquote>
  <p>How is this possible? I think I've accounted for everything.</p>