Created
March 24, 2011 08:43
-
-
Save ahmadajmi/884754 to your computer and use it in GitHub Desktop.
Strings methods
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 str = new String("foo"); // String Object | |
str.length; // return 3 | |
var str = "foo"; // String Literal | |
str.length; // return 3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment