Skip to content
Myr

Clarify documentation of STRING * INTEGER

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by pkoppstein · committed by pkoppstein · parent b5edbf7 · Browse files · 1 file+4 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+4 added−3 removed

  • other:+4 added−3 removed

1 file+4 added−3 removed

modified:docs/content/3.manual/manual.yml+4 added-3 removed
610 unmodified lines
611612 - title: Multiplication, division, modulo - `*`, `/`, and `%`613 body: |614615 These operators only work on numbers, and do the expected.615 These infix operators behave as expected when given two numbers.616 Division by zero raises an error. `x % y` computes x modulo y.617618 Multiplying a string by a number produces the concatenation of618 that string that many times.619 that string that many times. `"x" * 0` produces **null**.620621 Dividing a string by another splits the first using the second621 as separators. Division by zero raises an error.622 as separators. 623624 Multiplying two objects will merge them recursively: this works625 like addition but if both objects contain a value for the626 same key, and the values are objects, the two are merged with
2234 unmodified lines