var x = nerdamer('sign(x)'); console.log(x.toString()); var y = nerdamer('sign(-1)').evaluate(); console.log(y.toString());