nerdamer
nerdamer copied to clipboard
nerdamer.variables error
According to documentation one should get a list of variables in an expression. For example, for trigonometric functions one get an array of characters.
var e = nerdamer('sin(x)');
var variables = e.variables();
console.log(variables);
The list of is variables is ["n", "s", "x"], whereby it should be only "x".