• Victor@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    4 months ago

    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]'