O'Reilly logo

Web Technology: Theory and Practice by M. Srinivasan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

4.14 EXECUTION CONTEXTS

Just like any other programming language, JavaScript also executes in a specific context. But in this case, it is slightly different because there could be multiple “global” contexts since each separate browser window (or a frame) in the client side defines its own specific global context. Some of these contexts can be linked as well. Knowledge of this behavior leads to an important security aspect which will be discussed later in this section.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required