• KubeRoot
    link
    fedilink
    English
    102 hours ago

    Ah, but you see, “John” and “Doe” are two names - first and last - and when you say “My name is”, you’re really listing out your names, with spaces inbetween!

    But then there’s hyphenated names, and I have no idea how those are treated.

    • dch82
      link
      fedilink
      82 hours ago

      "John Doe" vs ["John", "Doe"] vs {"firstName":"John", "lastName":"Doe"}

      • Lemminary
        link
        1
        edit-2
        2 hours ago
        console.log(Object.values(name).join("\n"));