title: function not returning days of the week
body: <p>Instead of typing in an array containing the days of the week I created a function to do it for me. However, when I console log I'm getting an array with complete different values. Please tell me where my code needs tweaking to get the output I expect.</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>const dayNames = Array.from({ length: 7 }, (item, i) =&gt; {
    return new Date(0, i).toLocaleString("en-US", { days: "long" });
  });
  
  console.log(dayNames);</code></pre>
  </div>
  </div>
  </p>