var x = nerdamer('cross([1,2,3], [4,5,6])').evaluate(); console.log(x.toString()); x = nerdamer('cross([x+1,2,tan(x)], [4,x^2,1/x])').evaluate(); console.log(x.toString());