1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-01 12:30:48 +02:00
This commit is contained in:
Ariel
2014-03-10 18:08:50 -04:00
parent 0590851a64
commit 6348a3adde

View File

@@ -106,7 +106,7 @@ false;
// You can access characters in a string with charAt
"This is a string".charAt(0); // = 'T'
//...or use substring to get larger pieces
// ...or use substring to get larger pieces
"Hello world".substring(0, 5); // = "Hello"
// length is a property, so don't use ()