Created
August 1, 2018 16:05
-
-
Save sevperez/d415d1115702be54d19f6b35a0a2d4e6 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
var event = "Coffee with Ada."; | |
function calendar() { | |
var event = "Party at Charles' house."; | |
console.log(event); | |
} | |
calendar(); // Logs: "Party at Charles' house." | |
console.log(event); // Logs: "Coffee with Ada." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment