mirror of
https://github.com/janet-lang/janet
synced 2025-12-22 08:18:33 +00:00
Update docstring.
This commit is contained in:
@@ -1392,7 +1392,7 @@
|
|||||||
arr)
|
arr)
|
||||||
|
|
||||||
(defn pairs
|
(defn pairs
|
||||||
"Get the values of an associative data structure."
|
"Get the key-value pairs of an associative data structure."
|
||||||
[x]
|
[x]
|
||||||
(def arr (array/new (length x)))
|
(def arr (array/new (length x)))
|
||||||
(var k (next x nil))
|
(var k (next x nil))
|
||||||
|
|||||||
Reference in New Issue
Block a user