ElCanut@jlai.lu to Programmer Humor@programming.dev · 13 hours agoAsking the real questionsjlai.luimagemessage-square131fedilinkarrow-up1714arrow-down13
arrow-up1711arrow-down1imageAsking the real questionsjlai.luElCanut@jlai.lu to Programmer Humor@programming.dev · 13 hours agomessage-square131fedilink
minus-squareKubeRoot@discuss.tchncs.delinkfedilinkEnglisharrow-up12·5 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-squareMonkeMischief@lemmy.todaylinkfedilinkarrow-up1·37 minutes agoCould be…“Jondo” like, a mononym hahaha.
minus-squaredch82@lemmy.ziplinkfedilinkarrow-up10·4 hours ago"John Doe" vs ["John", "Doe"] vs {"firstName":"John", "lastName":"Doe"}
minus-squareLemminary@lemmy.worldlinkfedilinkarrow-up3·edit-24 hours agoconsole.log(Object.values(name).join("\n"));
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.
Could be…“Jondo” like, a mononym hahaha.
"John Doe"
vs["John", "Doe"]
vs{"firstName":"John", "lastName":"Doe"}