▲ 101 ▼ Got myself a new mug. (thelemmy.club) submitted 2 months ago by genzboomer@lemmy.zip to c/programmer_humor@programming.dev 31 comments fedilink hide all child comments
[–] one_old_coder@piefed.social 33 points 2 months ago (12 children) Array Damon? Vector Damon? I don't get it. permalink fedilink source hideshow 12 child comments replies: [–] sudoMakeUser@sh.itjust.works 72 points 2 months ago (8 children) I would say JSON Bourne but every member within the curlys needs to be a key value pair, so this isn't JSON. permalink fedilink source parent hideshow 8 child comments replies: [–] genzboomer@lemmy.zip [S] 11 points 2 months ago He was always very forgetful, Mr. Bourne... and well spotted! 😉 permalink fedilink source parent [–] bamboo@lemmy.blahaj.zone 9 points 2 months ago (1 child) Yeah, {} should be [] so it would look something like this: [""] permalink fedilink source parent hideshow 1 child comment replies: [–] 9point6@lemmy.world 18 points 2 months ago* Could double entendre it and do [["😃", 0], [0, "😃"]] For a JSON Bourne Identity permalink fedilink source parent [–] loweffortname@lemmy.dbzer0.com 7 points 2 months ago* (3 children) Technically an empty array [] is valid JSON...so... Proof: permalink fedilink source parent hideshow 3 child comments replies: [–] sudoMakeUser@sh.itjust.works 10 points 2 months ago (1 child) ["🙂"] and [] and "🙂" are valid, but anything within {} needs to be a key value pair. permalink fedilink source parent hideshow 1 child comment replies: [–] loweffortname@lemmy.dbzer0.com 12 points 2 months ago I genuinely saw [] and not {}... Maybe I do need to schedule that eye exam. permalink fedilink source parent [–] LodeMike@lemmy.today 2 points 2 months ago Termux permalink fedilink source parent [–] NigelFrobisher@aussie.zone 2 points 2 months ago Jake Weary was better permalink fedilink source parent [–] python@lemmy.world 16 points 2 months ago (2 children) Me neither, but I bet it's still valid JS syntax permalink fedilink source parent hideshow 2 child comments replies: [–] dohpaz42@lemmy.world 9 points 2 months ago (1 child) Yes. In JavaScript, Objects without explicit keys will use the value as the key. At least that’s how it works in Chrome devtools output. 🤷♂️ permalink fedilink source parent hideshow 1 child comment replies: [–] ZoteTheMighty@lemmy.zip 8 points 2 months ago This is insane, but ultimately, FAR from the most insane thing JavaScript has done to me this week, so I'll let it slide. permalink fedilink source parent
[–] sudoMakeUser@sh.itjust.works 72 points 2 months ago (8 children) I would say JSON Bourne but every member within the curlys needs to be a key value pair, so this isn't JSON. permalink fedilink source parent hideshow 8 child comments replies: [–] genzboomer@lemmy.zip [S] 11 points 2 months ago He was always very forgetful, Mr. Bourne... and well spotted! 😉 permalink fedilink source parent [–] bamboo@lemmy.blahaj.zone 9 points 2 months ago (1 child) Yeah, {} should be [] so it would look something like this: [""] permalink fedilink source parent hideshow 1 child comment replies: [–] 9point6@lemmy.world 18 points 2 months ago* Could double entendre it and do [["😃", 0], [0, "😃"]] For a JSON Bourne Identity permalink fedilink source parent [–] loweffortname@lemmy.dbzer0.com 7 points 2 months ago* (3 children) Technically an empty array [] is valid JSON...so... Proof: permalink fedilink source parent hideshow 3 child comments replies: [–] sudoMakeUser@sh.itjust.works 10 points 2 months ago (1 child) ["🙂"] and [] and "🙂" are valid, but anything within {} needs to be a key value pair. permalink fedilink source parent hideshow 1 child comment replies: [–] loweffortname@lemmy.dbzer0.com 12 points 2 months ago I genuinely saw [] and not {}... Maybe I do need to schedule that eye exam. permalink fedilink source parent [–] LodeMike@lemmy.today 2 points 2 months ago Termux permalink fedilink source parent [–] NigelFrobisher@aussie.zone 2 points 2 months ago Jake Weary was better permalink fedilink source parent
[–] genzboomer@lemmy.zip [S] 11 points 2 months ago He was always very forgetful, Mr. Bourne... and well spotted! 😉 permalink fedilink source parent
[–] bamboo@lemmy.blahaj.zone 9 points 2 months ago (1 child) Yeah, {} should be [] so it would look something like this: [""] permalink fedilink source parent hideshow 1 child comment replies: [–] 9point6@lemmy.world 18 points 2 months ago* Could double entendre it and do [["😃", 0], [0, "😃"]] For a JSON Bourne Identity permalink fedilink source parent
[–] 9point6@lemmy.world 18 points 2 months ago* Could double entendre it and do [["😃", 0], [0, "😃"]] For a JSON Bourne Identity permalink fedilink source parent
[–] loweffortname@lemmy.dbzer0.com 7 points 2 months ago* (3 children) Technically an empty array [] is valid JSON...so... Proof: permalink fedilink source parent hideshow 3 child comments replies: [–] sudoMakeUser@sh.itjust.works 10 points 2 months ago (1 child) ["🙂"] and [] and "🙂" are valid, but anything within {} needs to be a key value pair. permalink fedilink source parent hideshow 1 child comment replies: [–] loweffortname@lemmy.dbzer0.com 12 points 2 months ago I genuinely saw [] and not {}... Maybe I do need to schedule that eye exam. permalink fedilink source parent [–] LodeMike@lemmy.today 2 points 2 months ago Termux permalink fedilink source parent
[–] sudoMakeUser@sh.itjust.works 10 points 2 months ago (1 child) ["🙂"] and [] and "🙂" are valid, but anything within {} needs to be a key value pair. permalink fedilink source parent hideshow 1 child comment replies: [–] loweffortname@lemmy.dbzer0.com 12 points 2 months ago I genuinely saw [] and not {}... Maybe I do need to schedule that eye exam. permalink fedilink source parent
[–] loweffortname@lemmy.dbzer0.com 12 points 2 months ago I genuinely saw [] and not {}... Maybe I do need to schedule that eye exam. permalink fedilink source parent
[–] NigelFrobisher@aussie.zone 2 points 2 months ago Jake Weary was better permalink fedilink source parent
[–] python@lemmy.world 16 points 2 months ago (2 children) Me neither, but I bet it's still valid JS syntax permalink fedilink source parent hideshow 2 child comments replies: [–] dohpaz42@lemmy.world 9 points 2 months ago (1 child) Yes. In JavaScript, Objects without explicit keys will use the value as the key. At least that’s how it works in Chrome devtools output. 🤷♂️ permalink fedilink source parent hideshow 1 child comment replies: [–] ZoteTheMighty@lemmy.zip 8 points 2 months ago This is insane, but ultimately, FAR from the most insane thing JavaScript has done to me this week, so I'll let it slide. permalink fedilink source parent
[–] dohpaz42@lemmy.world 9 points 2 months ago (1 child) Yes. In JavaScript, Objects without explicit keys will use the value as the key. At least that’s how it works in Chrome devtools output. 🤷♂️ permalink fedilink source parent hideshow 1 child comment replies: [–] ZoteTheMighty@lemmy.zip 8 points 2 months ago This is insane, but ultimately, FAR from the most insane thing JavaScript has done to me this week, so I'll let it slide. permalink fedilink source parent
[–] ZoteTheMighty@lemmy.zip 8 points 2 months ago This is insane, but ultimately, FAR from the most insane thing JavaScript has done to me this week, so I'll let it slide. permalink fedilink source parent