Created
July 5, 2011 14:34
-
-
Save mrryanjohnston/1064945 to your computer and use it in GitHub Desktop.
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
> typeof new String("test") | |
'object' | |
> typeof "test" | |
'string' | |
> var myString = new String("test") | |
> myString | |
{ '0': 't', '1': 'e', '2': 's', '3': 't' } | |
> var myOtherString = "test" | |
> myOtherString | |
'test' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment