Check out a free preview of the full Coercion in JavaScript course:
The "Special Values: Negative Zero" Lesson is part of the full, Coercion in JavaScript course featured in this preview video. Here's what you'd learn in this lesson:

Most mathematicians would agree there is no negative zero value. JavaScript would prove otherwise. Kyle demonstrates how you can get a negative zero value and how it may compares to a zero-value in JavaScript. He also talks about a new ES6 method that will check strict equality.

Get Unlimited Access Now