var x = nerdamer('line([-1,-4], [3,11])'); console.log(x.toString()); var y = nerdamer('line([1,2], [3,4])'); console.log(y.toString());