diff --git a/docs/content/docs/language-reference.md b/docs/content/docs/language-reference.md index 5076523741..af41021d41 100644 --- a/docs/content/docs/language-reference.md +++ b/docs/content/docs/language-reference.md @@ -54,7 +54,7 @@ complex types. | Built-in | Description | | ------- |-------------| | ``output := array.concat(array, array)`` | ``output`` is the result of concatenating the two input arrays together. | - ``output := array.slice(array, startIndex, stopIndex)`` | ``output`` is the part of the ``array`` from ``startIndex`` to ``stopIndex`` including the first but excluding the last. If `startIndex < stopIndex` then `output == []`. If both `startIndex` and `stopIndex` are less than zero, `output == []`. Otherwise, `startIndex` and `stopIndex` are clamped to 0 and `count(array)` respectively. | + ``output := array.slice(array, startIndex, stopIndex)`` | ``output`` is the part of the ``array`` from ``startIndex`` to ``stopIndex`` including the first but excluding the last. If `startIndex >= stopIndex` then `output == []`. If both `startIndex` and `stopIndex` are less than zero, `output == []`. Otherwise, `startIndex` and `stopIndex` are clamped to 0 and `count(array)` respectively. | ### Sets