A global object is an object that always exists in the global scope.
In JavaScript there is always a global object define, for example in Browser it is the window
object where in Node.js it is the global
object.
A global object is an object that always exists in the global scope.
In JavaScript there is always a global object define, for example in Browser it is the window
object where in Node.js it is the global
object.