Last active
April 15, 2016 17:55
-
-
Save alexweber/a62eeaceb86029f0b7abf91884e70671 to your computer and use it in GitHub Desktop.
Revisions
-
Alex Weber renamed this gist
Apr 15, 2016 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
Alex Weber revised this gist
Apr 15, 2016 . No changes.There are no files selected for viewing
-
Alex Weber revised this gist
Apr 15, 2016 . 3 changed files with 21 additions and 16 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,8 +0,0 @@ This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,8 +0,0 @@ This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,21 @@ // Example 1 var foo = 1; function bar() { if (!foo) { var foo = 10; } alert(foo); } bar(); // Example 2 var a = 1; function b() { a = 10; return; function a() {} } b(); alert(a); -
Alex Weber created this gist
Apr 15, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ var foo = 1; function bar() { if (!foo) { var foo = 10; } alert(foo); } bar(); This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ var a = 1; function b() { a = 10; return; function a() {} } b(); alert(a);