Detects if the script is running inside Node.js or the browser. Checks if there is Node version in the environnement variable AND if window is already defined
Detects if the script is running inside Node.js or the browser. Checks if there is Node version in the environnement variable AND if window is already defined