Created
June 7, 2014 11:54
-
-
Save ELLIOTTCABLE/211b6b3ba3034861cdbe to your computer and use it in GitHub Desktop.
Not all scopes ...
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 set(x){return "(function(y){"+x+"=y})"} | |
var a = 123 | |
eval(set("a"))(456) | |
console.log(a) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment