Skip to content

Instantly share code, notes, and snippets.

Last active May 28, 2018 15:40
What would you like to do?
necessary JavaScript polyfills for working with Nashorn JS-engine
var global = this;
var window = this;
var process = {env: {}};
var console = {};
console.debug = print;
console.warn = print;
console.log = print;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment