Note that there is both a positive zero and a negative zero. For brevity, these values are also referred to for expository purposes by the symbols +0 and -0, respectively. (Note that these two different zero Number values are produced by the program expressions +0 (or simply 0) and -0.)
Description
Math.sign(-0)
produces incorrect outputSteps to Reproduce
0
Expected Behavior
Math.sign(-0)
should output-0
instead of0
Math.sign(0)
should output0
Chrome console:
Additional Context
JS spec: https://262.ecma-international.org/9.0/#sec-ecmascript-language-types-number-type