This website requires JavaScript.
Explore
Help
Register
Sign In
retoor
/
wren
Watch
1
Star
0
Fork
0
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
7048facaa419b16b2bd6053563b5e691a064dffe
wren
/
test
/
list
/
insert_index_too_small.wren
T
3 lines
86 B
Plaintext
Raw
Normal View
History
Unescape
Escape
feat: add validateNum/validateInt helpers and runtime type checks for list methods
2014-01-02 15:32:00 +00:00
var a = [1, 2, 3]
a.insert("value", -5) // expect runtime error: Index out of bounds.
Reference in New Issue
Copy Permalink