ElCanut@jlai.lu to Programmer Humor@programming.dev · 1 month agoAsking the real questionsjlai.luexternal-linkmessage-square219fedilinkarrow-up11.15Karrow-down111
arrow-up11.13Karrow-down1external-linkAsking the real questionsjlai.luElCanut@jlai.lu to Programmer Humor@programming.dev · 1 month agomessage-square219fedilink
minus-squareKubeRoot@discuss.tchncs.delinkfedilinkEnglisharrow-up18·1 month 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-up14·1 month ago"John Doe" vs ["John", "Doe"] vs {"firstName":"John", "lastName":"Doe"}
minus-squareLemminary@lemmy.worldlinkfedilinkarrow-up6·edit-21 month agoconsole.log(Object.values(name).join("\n"));
minus-squareMonkeMischief@lemmy.todaylinkfedilinkarrow-up2·1 month 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.