101
Got myself a new mug.
(thelemmy.club)
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Array Damon? Vector Damon? I don't get it.
I would say JSON Bourne but every member within the curlys needs to be a key value pair, so this isn't JSON.
He was always very forgetful, Mr. Bourne... and well spotted! π
Yeah,
{}should be[]so it would look something like this:[""]Could double entendre it and do
For a JSON Bourne Identity
Technically an empty array
[]is valid JSON...so...Proof:
["π"] and [] and "π" are valid, but anything within {} needs to be a key value pair.
I genuinely saw
[]and not{}...Maybe I do need to schedule that eye exam.
Termux
Jake Weary was better
Me neither, but I bet it's still valid JS syntax
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. π€·ββοΈ
This is insane, but ultimately, FAR from the most insane thing JavaScript has done to me this week, so I'll let it slide.