when running javascript in browser have document object available me.
for instance, can document.write() in javascript in browser.
the document object not available when running javascript under java 8 javascript engine jjs.
jjs successor rhino , delivered java 8 oracle.
what objects available in jjs? documented?
the document
won't available when running via nashorn/jjs since doesn't have dom (like javascript engine in browser would), same goes window
. in other aspects should implement ecmascript 5.1 according blog post oracle lacks console object shame.
i haven't seen documentation other stuff missing engine there few pages might worth looking on @ openjdk wiki nashorn.
Comments
Post a Comment