Created
November 21, 2012 00:54
-
-
Save valdezm/4122349 to your computer and use it in GitHub Desktop.
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
some file: | |
var aTest={ | |
user: "nothing", | |
a: function(q){this.user = q; | |
} | |
} | |
another js file: | |
// alert(aTest.user); | |
// aTest.a("tettgg"); | |
//alert(aTest.user); | |
the state is correct, aTest.user now points to tettg... | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment