windows run js file 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;}')();