Sjmarf@sh.itjust.works to Programmer Humor@programming.dev · 1 year agoJavaScriptsh.itjust.worksimagemessage-square13fedilinkarrow-up110arrow-down10
arrow-up110arrow-down1imageJavaScriptsh.itjust.worksSjmarf@sh.itjust.works to Programmer Humor@programming.dev · 1 year agomessage-square13fedilink
minus-squareVictor@lemmy.worldlinkfedilinkarrow-up1·1 year agoSo there’s yet another level of quirkery to this bullshit then, it seems. 😆 Nice digging! 🤝 I also noticed that if you surround the curlies with parentheses, you get the same again: > eval('{} + []') 0 > eval('({}) + []') '[object Object]'
So there’s yet another level of quirkery to this bullshit then, it seems. 😆 Nice digging! 🤝
I also noticed that if you surround the curlies with parentheses, you get the same again:
> eval('{} + []') 0 > eval('({}) + []') '[object Object]'