Created
May 21, 2016 03:17
-
-
Save codeangler/312ce000f4d418107e7e367450d92004 to your computer and use it in GitHub Desktop.
https://repl.it/mVA/165 created by codeangler
This file contains 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
var car = "Honda Civic"; | |
showCar(); | |
// By making it a function declaration scope & hoisting are not an issue | |
function showCar(){ | |
console.log(car); | |
} | |
This file contains 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
Native Browser JavaScript | |
>>> Honda Civic |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment