JSContext and JSValue
JSContext and call its
JSContext context = new JSContext (); JSValue result = context.EvaluateScript ("2 + 2"); Console.WriteLine(result); // prints 4
"2 + 2".
EvaluateScript returns a
JSValue, and in this case the code has produced
You can download the source for this project here.