title: How can I iterate over the characters in a string, and change them?
body: <p>I want to take a string, and change each character. I.e. A becomes E or F becomes C.</p>
  
  <p>what I have is this:</p>
  
  <pre><code>function convert(){
    var text=document.getElementById('textInp').value;
    alert(text);
    for()
  }
  </code></pre>
  
  <p>I don't know what to do in the for loop</p>