mirror of
https://github.com/janet-lang/janet
synced 2025-11-22 10:14:49 +00:00
Merge branch 'master' of github.com:janet-lang/janet
This commit is contained in:
@@ -648,7 +648,7 @@
|
||||
(defn last
|
||||
"Get the last element from an indexed data structure."
|
||||
[xs]
|
||||
(in xs (- (length xs) 1)))
|
||||
(get xs (- (length xs) 1)))
|
||||
|
||||
###
|
||||
###
|
||||
|
||||
Reference in New Issue
Block a user