Online since 1990 Yes! I started with Gopher. I do modern Web Component Development with technologies supported by **all** WHATWG partners (Apple, Google, Microsoft & Mozilla)
Online since 1990 Yes! I started with Gopher. I do modern Web Component Development with technologies supported by **all** WHATWG partners (Apple, Google, Microsoft & Mozilla)
Using the 2nd parameter mapFn on Array.from instead of .map saves a spread on monthList
And since year is not a parameter, no need for
const year
declaration to get a monthnamenew Date(0, monthIndex)
will do, for ES Arrow function:Cool, thanks!
For constructor of Intl.DateTimeFormat
locales
is optional param. No requirement to provide default value oflocale
.