run js file windows code example
Example 1: make js file windows command
type NUL > test.html
type NUL > test.js
Example 2: javascript running at node
const inNode = new Function('try{return this===global;}catch(err){return false;}')();
type NUL > test.html
type NUL > test.js
const inNode = new Function('try{return this===global;}catch(err){return false;}')();