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...
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
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
Global environment
Bibliography
Standards
- ECMAScript® 2016 language specification - ECMA-262 - 2016
- IEEE Standard for the Scheme Programming Language - IEEE Std 1178-1990 - 1990
- Information technology Universal Coded Character Set (UCS) - ISO/IEC 10646 : 2014 - 2014
- Standard for Binary Floating – Point Arithmetic - IEEE 754 - 2008
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