Created
February 7, 2016 01:37
-
-
Save josescasanova/2c5263124779ddddb93f to your computer and use it in GitHub Desktop.
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 characters
function foo() { | |
function a() {} // local 'a' is a function | |
a = 12; // local 'a' is now a number (12) | |
return a; // return the local 'a' (12) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment