marcello3d / node-tosource

Converts JavaScript objects to source

Home Page:https://github.com/marcello3d/node-tosource

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Negative zero support

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?