Created
July 6, 2014 01:08
-
-
Save oravecz/29cfc4980f3c8a96286c to your computer and use it in GitHub Desktop.
Promises Presentation
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
(function() { | |
var a = 10; | |
setTimeout(function() { | |
a = a + 10; | |
}, 1000); | |
console.log('Value of a: ' + a); | |
}) (); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment