title: loop over array using charAt to get first letter of each value in javascript
body: <p>I am new to JS and am trying to understand chartAt. I created a problem where I want to go through an array and pull the first character of each value from my array using charAt. I'm a bit stuck with my code.</p>
  
  <pre><code>var myArray = ['adam', 'bianca', 'cat', 'dennis'];
  var myFunc = function (letter) {
      for (var i = 0; i &lt; letter.length; i += 1) {
          letter.charAt(0);
          console.log(letter.charAt(0));
      }
  }
  </code></pre>