Why does JavaScript have -0?

added by JavaScript Kicks
12/5/2019 9:54:37 AM

994 Views

Since the early versions of JavaScript there have always been two ways of performing equality comparison: Abstract Equality Comparison using == aka "double equals" Strict Equality Comparison using === aka "triple equals" ES6 delivered a third option in the form of the method.


0 comments