Created
November 13, 2014 17:18
-
-
Save arbaaz/2d428b19d08f33010442 to your computer and use it in GitHub Desktop.
getSetterJs
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
this.importantString = funciton(val, undefined) { | |
if(val == undefined) { | |
return val; | |
} | |
else if(typeof val == String) { | |
_importantString = val; | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment