title: mathjs eval error: (intermediate value)(intermediate value)(intermediate value) is not a function
body: <p>If I run a code:</p>
  
  <pre><code>    obj = {};
      obj['number'] = 1;
      obj['expressionS'] = 'Sin(0.5 * c1)';
      obj['compiledExpressionS'] = null;
  
      let cnr = 'c' + obj.number;
      let params = {};
      params[cnr] = 2;
  
      var parsedExpressionS = math.parse(obj.expressionS);
      obj.compiledExpressionS = parsedExpressionS.compile();
      let value = obj.compiledExpressionS.eval(params);
  </code></pre>
  
  <p>I will get an error (thrown in last line):
  <strong>(intermediate value)(intermediate value)(intermediate value) is not a function</strong>. Mathjs library is used here (docs:  <a href="http://mathjs.org/docs/expressions/parsing.html" rel="nofollow noreferrer">http://mathjs.org/docs/expressions/parsing.html</a> ). I have no idea why the error apear.</p>