ElCanut@jlai.lu to Programmer Humor@programming.dev · 18 hours agoAsking the real questionsjlai.luimagemessage-square156fedilinkarrow-up1851arrow-down15
arrow-up1846arrow-down1imageAsking the real questionsjlai.luElCanut@jlai.lu to Programmer Humor@programming.dev · 18 hours agomessage-square156fedilink
minus-squareKubeRoot@discuss.tchncs.delinkfedilinkEnglisharrow-up14·9 hours agoAh, 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.
minus-squaredch82@lemmy.ziplinkfedilinkarrow-up10·9 hours ago"John Doe" vs ["John", "Doe"] vs {"firstName":"John", "lastName":"Doe"}
minus-squareLemminary@lemmy.worldlinkfedilinkarrow-up5·edit-29 hours agoconsole.log(Object.values(name).join("\n"));
minus-squareMonkeMischief@lemmy.todaylinkfedilinkarrow-up1·5 hours agoCould be…“Jondo” like, a mononym hahaha.
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.
"John Doe"
vs["John", "Doe"]
vs{"firstName":"John", "lastName":"Doe"}
Could be…“Jondo” like, a mononym hahaha.