mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-11-27 04:44:08 +03:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
834846cdba
@ -324,7 +324,7 @@ i; // = 5 - not undefined as you'd expect in a block-scoped language
|
||||
// scope.
|
||||
(function(){
|
||||
var temporary = 5;
|
||||
// We can access the global scope by assiging to the "global object", which
|
||||
// We can access the global scope by assigning to the "global object", which
|
||||
// in a web browser is always `window`. The global object may have a
|
||||
// different name in non-browser environments such as Node.js.
|
||||
window.permanent = 10;
|
||||
|
Loading…
Reference in New Issue
Block a user