title: JS search function to show similar search results
body: <p>I have about 100 terms (no number) saved as variable in js.</p>
  
  <pre><code>var terms = [ALL TERMS];
  </code></pre>
  
  <p>I have a simple search field: <code>&lt;input type="text" name="search" placeholder="Search.."&gt;</code></p>
  
  <p>I am trying to make it so that when an user starts to type a letter, it automatically brings terms that matches what was typed.</p>
  
  <p>I have seen this kind of function before. I would very much appreciate if someone could point me to a right direction in order to achieve this.</p>
  
  <p>Thanks bunch!</p>