Created
December 1, 2014 17:42
-
-
Save jvanderhoof/bf3107f56f571ca75c6e to your computer and use it in GitHub Desktop.
JS Namespace Example
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 ImeiChecker = { | |
test_one: 'testing 1', | |
test_two: 'testing 2' | |
}; | |
// Then you can retrieve the values: | |
ImeiChecker.test_one; // => testing 1 | |
// Update the values: | |
ImeiChecker.test_one = 'testing 123'; | |
ImeiChecker.test_one; // => testing 123 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment