JRuby executing JS w Nashorn ...
james_ladd at hotmail.com
Mon Feb 10 17:34:34 PST 2014
ago. It was simple and here is the code should anyone else
need to do it.
factory = javax.script.ScriptEngineManager.new
engine = factory.getEngineByName 'nashorn'
bindings = engine.createBindings
Yes it is easy but sometimes its good to see and cut-n-paste.
More information about the nashorn-dev