Javascript Global Object

Introduction

The Javascript Global object is the unique in Javascript.

It isn't explicitly accessible.

ECMA-262 specifies the Global object as a sort of catchall for properties and methods that don't otherwise have an owning object.

In Javascript there is no global variable or global function.

All variables and functions defined globally become properties of the Global object.

Functions, such as isNaN(), isFinite(), parseInt(), and parseFloat(), are methods of the Global object.




PreviousNext

Related