Execute script stored as a string

buddhi mihara buddhi.mihara at live.com
Sun Dec 8 09:23:51 PST 2013


i need to execute script which given as string.let say i have script file call foo.js and i store contents of that file as a string.and i need to execute that script code and get the output to the current context.how should i do that
thank youBuddhi Nipun Mihara 		 	   		  


More information about the nashorn-dev mailing list