Closed pditommaso closed 7 years ago
It turns out that Java 8 includes the Nashorn JavaScript engine (!)
For example:
import javax.script.ScriptEngine; import javax.script.ScriptEngineManager; ScriptEngineManager factory = new ScriptEngineManager(); ScriptEngine engine = factory.getEngineByName("nashorn"); engine.eval('print("Hello JavaScript world!");');
Something to give a try next week @KevinSayers
:+1:
It turns out that Java 8 includes the Nashorn JavaScript engine (!)
For example: