mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-01 12:30:48 +02:00
space
This commit is contained in:
@@ -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 ()
|
||||
|
Reference in New Issue
Block a user