var x = nerdamer('abs(-x)'); console.log(x.toString()); var y = nerdamer('abs(-2-x)'); console.log(y.toString());