Negative zero support
tiansh opened this issue · comments
田生 commented
tosource(-0) should return '-0' instead of '0'
Object.is(eval(tosource(-0)), -0); // should be true
Marcello Bastéa-Forte commented
Want to submit a PR for it?
Converts JavaScript objects to source
tiansh opened this issue · comments
tosource(-0) should return '-0' instead of '0'
Object.is(eval(tosource(-0)), -0); // should be true
Want to submit a PR for it?