title: replace all vowels in a string javascript
body: <p>I am trying to write a function that will remove all vowels in a given string in JS. I understand that I can just write string.replace(/[aeiou]/gi,"") but I am trying to complete it a different way...this is what I have so far... thank you! </p>
  
  <p>I first made a different function called IsaVowel that will return the character if it is a vowel...</p>
  
  <pre><code>function withoutVowels(string) {
  
  var withoutVowels = "";
  for (var i = 0; i &lt; string.length; i++) {
      if (isaVowel(string[i])) {
   ***not sure what to put here to remove vowels***
         }
    }
      return withoutVowels;
  }
  </code></pre>