• OshaqHennessey@midwest.social
    link
    fedilink
    arrow-up
    1
    ·
    16 hours ago

    If this is JavaScript, it would have a value of -0, which is actually valid and works the same as normal zero thanks to type coercion. I think the only difference is some methods that detect if a number is negative will return true instead of false, but otherwise, JS treats -0 the same way as 0