sebastienros / jint

Javascript Interpreter for .NET

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Have trouble to use 3.0.0

bonneforyou opened this issue · comments

3.0.0 first downloader

I am using .Net standard 2.1 in Unity, so I choose 2.1 version for jint and Esprima, and I found engine.Execute has error? Can you have an article like this one "https://pleasenophp.github.io/posts/using-real-javascript-with-unity.html" to show how to interact with new version?

btw, even I switch to 2.11.58, I also got this error

ApplicationException: Error: Line 1: Unexpected token ) in app
001 (()=>{"use strict";log("Hello from JS ES6 file!"),log("This is function 1 from my module"),log("This is function 2 from my module")})();