Browse Source

Updated the docs to reflect the new repeat() method name

Steven Hall 8 years ago
parent
commit
39899b8a27
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/types.html

+ 1 - 1
docs/types.html

@@ -113,7 +113,7 @@
 	n = b.count("l")        // n is now 3.
 	n = b.count("llo")      // n is now 1.
 
-	n = "A".string_repeat(10) // n is now "AAAAAAAAAA"
+	n = "A".repeat(10)      // n is now "AAAAAAAAAA"
 
 	n = b.upper()           // n is now "HELLO WORLD"
 	n = b.lower()           // n is now "hello world"