title: Getting an array list of scores
body: <p>I am trying to create a list of numbers so that I can pass it through the assignGrade function. I want to put them in an array and then run them through to get a result of A,B,C,D,F. I think that I am close but don't know what else to try.</p>
  
  <pre><code>var assignGrade = function assignGrade(score) {
      if (score &gt; 90) {
          return 'A';
      } else if (score &gt; 80) {
          return 'B';
      } else if (score &gt; 70) {
          return 'C';
      } else if (score &gt; 65) {
          return 'D';
      } else {
          return 'F';
      }
  }
  
  function getScore(result) {
      result = [];
      for (var i = 0; i &lt; result.length; i++) {
      assignGrade;
      }
      return result;
  }
  
  console.log(getScore(55,77,88));
  </code></pre>