summaryrefslogtreecommitdiffstats
path: root/testdata
diff options
context:
space:
mode:
authorStephen Dolan <mu@netsoc.tcd.ie>2012-10-20 00:26:37 +0100
committerStephen Dolan <mu@netsoc.tcd.ie>2012-10-20 00:26:37 +0100
commit32e1b114df3067b000b26d11030fd265d2fee17a (patch)
tree562c9cccd053bb7e717afc2e43d544fdb1bfe18c /testdata
parentafec2544f1793d11c47356c32ef74ce8c4035263 (diff)
Add a 'keys' function. Fixes #4.
Diffstat (limited to 'testdata')
-rw-r--r--testdata4
1 files changed, 4 insertions, 0 deletions
diff --git a/testdata b/testdata
index ea0b1cc6..6f04a1d5 100644
--- a/testdata
+++ b/testdata
@@ -223,6 +223,10 @@ null
[[], {}, [1,2], {"a":42}, "asdf"]
[0, 0, 2, 1, 4]
+map(keys)
+[{}, {"abcd":1,"abc":2,"abcde":3}, {"x":1, "z": 3, "y":2}]
+[[], ["abc","abcd","abcde"], ["x","y","z"]]
+
[1,2,empty,3,empty,4]
null
[1,2,3,4]