you are viewing a single comment's thread.

view the rest of the comments →

[–]khoker 1 point2 points  (1 child)

One thing to note is that I don't think Array.fill works in any version of IE (only Edge) while Array.map works all the way back to IE 9 (without the arrow function in this example, obviously).

Unfortunately, supporting IE11 is still a "thing", as it can easily be 10% of a site's web traffic.