title: Difficulty converting an Array of strings toLowerCase and adding to my function. Javascript
body: <p>I have a function that searches through an array of strings. It works perfectly, except for the fact that its case sensitive. I need it to be case insensitive. </p>
  
  <p>The easiest way would be to make the function convert the array to lowercase, so when the function performs a search through the array, it is able to find it, regardless of its case.</p>
  
  <p>I have tried adding <code>var array_name_tolowercase = array_name.toLowerCase();</code> within my function so that when the function is called, it can work on all arrays; if needed. </p>
  
  <p>Im sorry I haven't made myself clear at all, if this is the case, please let me know and I will try my best to re-explain. Thanks in advance!</p>