Prior to ES6, the only way to check if a number is -0 is to divide any number by it and check if it equals -Infinity.

With ES6, you can use Object.is(value, -0).