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
#r "nuget: Jurassic, 3.2.9"varengine=newJurassic.ScriptEngine();engine.SetGlobalValue("console",newJurassic.Library.FirebugConsole(engine));engine.Execute("""const ramda = (a, b) => a + b;console.log(ramda(3,4)); // 7""");
Error: Jurassic.JavaScriptException: SyntaxError: Unexpected token '>' in expression.
at Jurassic.ScriptEngine.Execute(ScriptSource source)
at Jurassic.ScriptEngine.Execute(String code)
at Submission#31.<<Initialize>>d__0.MoveNext()
--- End of stack trace from previous location ---
at Microsoft.CodeAnalysis.Scripting.ScriptExecutionState.RunSubmissionsAsync[TResult](ImmutableArray`1 precedingExecutors, Func`2 currentExecutor, StrongBox`1 exceptionHolderOpt, Func`2 catchExceptionOpt, CancellationToken cancellationToken)
Also, it would be nice if the line with the error was also printed.
The text was updated successfully, but these errors were encountered:
Also, it would be nice if the line with the error was also printed.
The text was updated successfully, but these errors were encountered: