title: Why does IndexOf return -1?
body: <p>I am learning Javascript and don't understand why the indexOf below returns -1:</p>
  
  <pre><code>var string = "The quick brown fox jumps over the lazy dog";
  
  console.log (string.indexOf("good"));
  </code></pre>