genzboomer@lemmy.zip to Programmer Humor@programming.dev · 7 hours agoGot myself a new mug.lemmy.zipexternal-linkmessage-square12linkfedilinkarrow-up10
arrow-up10external-linkGot myself a new mug.lemmy.zipgenzboomer@lemmy.zip to Programmer Humor@programming.dev · 7 hours agomessage-square12linkfedilink
minus-squarepython@lemmy.worldlinkfedilinkarrow-up0·7 hours agoMe neither, but I bet it’s still valid JS syntax
minus-squaredohpaz42@lemmy.worldlinkfedilinkEnglisharrow-up0·5 hours agoYes. In JavaScript, Objects without explicit keys will use the value as the key. At least that’s how it works in Chrome devtools output. 🤷♂️
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. 🤷♂️