@ElCanut@jlai.lu to Programmer Humor@programming.dev • 1 year agoAsking the real questionsjlai.luimagemessage-square215fedilinkarrow-up11.17Karrow-down111
arrow-up11.16Karrow-down1imageAsking the real questionsjlai.lu@ElCanut@jlai.lu to Programmer Humor@programming.dev • 1 year agomessage-square215fedilink
minus-squareKubeRootlinkfedilinkEnglish18•1 year 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-square@dch82@lemmy.ziplinkfedilink15•1 year ago"John Doe" vs ["John", "Doe"] vs {"firstName":"John", "lastName":"Doe"}
minus-square@MonkeMischief@lemmy.todaylinkfedilink3•1 year 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"}console.log(Object.values(name).join("\n"));Could be…“Jondo” like, a mononym hahaha.