- A global object is a javascript object.
- Its properties defines the globally defined identifiers
- Created when the Javascript interpreter starts
The default set of properties
- Constants: undefined, Infiity, NaN, etc.
- Functions: isNan(), parseInt(), eval(), etc.
- Constructors: Date(), RegExp(), String(), etc.
- Objects: Math, JSON
In Node, the global object is called "global"
In Browsers, the global object is "Window.window" property