[Poll] What do you get if you add two negative zeroes in JavaScript?
-0 + -0
No cheating! #jsquiz
-
Show this thread
-
Replying to @mathias
aren't -0, 0, and +0 all treated the same (answer is probably no), but I'd imagine it's 0
2 replies 0 retweets 1 like
Replying to @tbranyen
Not in all cases. http://Object.is (-0, +0); // → false
1:24 PM - 25 Jan 2018
0 replies
0 retweets
2 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.