summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--javascript.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/javascript.html.markdown b/javascript.html.markdown
index 03a12372..76017c17 100644
--- a/javascript.html.markdown
+++ b/javascript.html.markdown
@@ -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 ()