←
^
→
JavaScript in the Browser
Browser Environment
As a scripting language, JavaScript can run in many different environments.
An
environment
is just a bunch of global variables/functions.
In the browser, the
window
object is the global object.
Everything
client-side gets accessed via this object.
Unfortunately, the structure of that object differs between browsers, but there is a common subset.
José M. Vidal
.
1 of 66