nodejs execute js file without require 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;}')();