[Poll] What do you get if you add two negative zeroes in JavaScript?
-0 + -0
No cheating! #jsquiz
-
Show this thread
-
Replying to @mathias
+0 === regular old 0 right? I got it correct but it was more confusing with the +.
1 reply 0 retweets 0 likes
Replying to @dmvjs
Yes, +0 is just regular 0. I wanted to make it clear it’s different from -0.
4:16 PM - 24 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.