mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-22 23:01:41 +03:00
[javascript/en] Small typo fix
Just a simple 1-word typo fix
This commit is contained in:
parent
903ec29a3d
commit
c23bba2b60
@ -324,7 +324,7 @@ i; // = 5 - not undefined as you'd expect in a block-scoped language
|
|||||||
// scope.
|
// scope.
|
||||||
(function(){
|
(function(){
|
||||||
var temporary = 5;
|
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
|
// in a web browser is always `window`. The global object may have a
|
||||||
// different name in non-browser environments such as Node.js.
|
// different name in non-browser environments such as Node.js.
|
||||||
window.permanent = 10;
|
window.permanent = 10;
|
||||||
|
Loading…
Reference in New Issue
Block a user