title: How do I evaluate JavaScript expressions server-side using .NET Core?
body: <p>I'm building an expression engine that I want to script using JavaScript.  In .NET Framework it was possible to use the JScript library to evaluate JavaScript expressions.  However in .NET Core JScript isn't currently supported.  Also the existing libraries(NodeServices/SpaServices) have been deprecated.  <strong>What is the best solution for achieving something like:</strong></p>
  <pre><code>    var result = SomeJavaScriptEvaluator.Eval(&quot;1 + 1&quot;); //2
      var isConditionTrue = SomeJavaScriptEvaluator.Eval(&quot;someValue !== null&quot;); //true or false
  </code></pre>