Fix the latest manual on string multiplication by zero
This commit is contained in:
1 parent
cac3ea3726
commit
e2bc8de8bb
1 file changed
+1
-1
@@ -779,7 +779,7 @@ sections:
|
||||
Division by zero raises an error. `x % y` computes x modulo y.
|
||||
|
||||
Multiplying a string by a number produces the concatenation of
|
||||
that string that many times. `"x" * 0` produces **null**.
|
||||
that string that many times. `"x" * 0` produces `""`.
|
||||
|
||||
Dividing a string by another splits the first using the second
|
||||
as separators.
|
||||
|
||||
Reference in new issue
Block a user