//We can check the js system variable window const isBrowser = typeof window !== 'undefined';
//We can check the js system variable global const isNodejs = typeof global !== 'undefined';