• dohpaz42@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      5 hours ago

      Yes. In JavaScript, Objects without explicit keys will use the value as the key. At least that’s how it works in Chrome devtools output. 🤷‍♂️