expose custome object or function to script environement

buddhi mihara buddhi.mihara at live.com
Mon Jan 13 01:49:33 PST 2014

i am writing a server side js language just like node.jswhat is the proper way to expose custom object just like NativeMath or custom constructor function just like Native Date to the script environment
thank you 		 	   		  

More information about the nashorn-dev mailing list