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_not_num.wren
T
3 lines
90 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", "2") // expect runtime error: Index must be a number.
Reference in New Issue
Copy Permalink