mirror of
https://github.com/janet-lang/janet
synced 2025-01-14 09:25:41 +00:00
Issue #13 addressed.
parent
a8f03eb7e7
commit
34484e9ffa
@ -372,7 +372,7 @@ itself, and the second parameter is the key.
|
||||
(get @{:a 1} :a) # -> 1
|
||||
(get {:a 1} :a) # -> 1
|
||||
(get @[:a :b :c] 2) # -> :c
|
||||
(get (tuple "a" "b" "c") 1) # -> "a"
|
||||
(get (tuple "a" "b" "c") 1) # -> "b"
|
||||
(get @"hello, world" 1) # -> 101
|
||||
(get "hello, world" 0) # -> 104
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user