Article | REF: H3120 V1

Javascript

Author: Christian Queinnec

Publication date: February 10, 2017

You do not have access to this resource.
Click here to request your free trial access!

Already subscribed? Log in!


5. Global environment

So far, we've covered Javascript's key words, a few essential functions and the notions of scope and environment. What is the global environment and what does it contain? The answer depends on the particular implementation of Javascript.

In a browser, Javascript runs in a restricted context for security reasons. Indeed, allowing Javascript in your browser means allowing code written from who knows where to run in your browser and therefore on your machine. We can no longer cite the attacks where such code could steal sensitive files, send spam, inspect a company's internal network or spy on other Javascript code in order to find bank card numbers or passwords. Browsers have gone to great lengths to limit these risks and, as a result, provide feature-restricted libraries: it is thus not possible for a Javascript program running in a browser to read the user's hard...

You do not have access to this resource.

Exclusive to subscribers. 97% yet to be discovered!

You do not have access to this resource.
Click here to request your free trial access!

Already subscribed? Log in!


The Ultimate Scientific and Technical Reference

A Comprehensive Knowledge Base, with over 1,200 authors and 100 scientific advisors
+ More than 10,000 articles and 1,000 how-to sheets, over 800 new or updated articles every year
From design to prototyping, right through to industrialization, the reference for securing the development of your industrial projects

This article is included in

Traceability

This offer includes:

Knowledge Base

Updated and enriched with articles validated by our scientific committees

Services

A set of exclusive tools to complement the resources

Practical Path

Operational and didactic, to guarantee the acquisition of transversal skills

Doc & Quiz

Interactive articles with quizzes, for constructive reading

Subscribe now!

Ongoing reading
Global environment