You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
paulbartrum edited this page Dec 14, 2015
·
3 revisions
You can also call a JavaScript function from .NET.
varengine=newJurassic.ScriptEngine();engine.Evaluate("function test(a, b) { return a + b }");Console.WriteLine(engine.CallGlobalFunction<int>("test",5,6));