0

When I use a fill function inside a fill function to create a 2 dimensional array, any changes into any coordinates of this array will change all of his respective column.

But when I use Array.from(), which uses a .map function as parameter, it works just fine. Why does this happen? Example here

Santosh Aryal
  • 1,276
  • 1
  • 18
  • 41

0 Answers0