Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript

// we create a new JS engine with the object "gt" as globalThis
// gt can now be treated like globalThis. 
try (JScriptEngine engine = new JScriptEngine(new JsGlobalThis(),"gt")) {
			
	/* call your js code here */
} 				
Source by www.visions-tec.de #
 
PREVIOUS NEXT
Tagged: #javascript
ADD COMMENT
Topic
Name
4+6 =