1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-25 01:37:19 +00:00

Fix reverse docstring

This commit is contained in:
Josef Pospíšil 2020-06-25 09:35:03 +02:00
parent 6a187a384b
commit 1b420f69aa

View File

@ -1198,7 +1198,7 @@
res)
(defn reverse
"Reverses the order of the elements in a given array or tuple and returns a new array."
"Reverses the order of the elements in a given array or tuple and returns it mutated."
[t]
(def len-1 (- (length t) 1))
(def half (/ len-1 2))