run files that ends with .js code example
Example: javascript running at node
const inNode = new Function('try{return this===global;}catch(err){return false;}')();
const inNode = new Function('try{return this===global;}catch(err){return false;}')();