• Phoenixz
      link
      fedilink
      06 hours ago

      JavaScript sucks but I’ll give it this one

      Arrays are complex structures with multiple values. Just because one looks like the other doesn’t make them the same object. It’s like taking two new objects form the same class, they look the same but work independently from eachother. I can add a value to one and the other would be unaffected, they’d both still be the same class