@[email protected] to Programmer [email protected] • 1 month agoAsking the real questionsjlai.luimagemessage-square210fedilinkarrow-up11.13Karrow-down110
arrow-up11.12Karrow-down1imageAsking the real questionsjlai.lu@[email protected] to Programmer [email protected] • 1 month agomessage-square210fedilink
minus-squareKubeRootlinkfedilinkEnglish18•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-square@[email protected]linkfedilink14•1 month ago"John Doe" vs ["John", "Doe"] vs {"firstName":"John", "lastName":"Doe"}
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.