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
/
subscript_setter_too_small.wren
T
3 lines
78 B
Plaintext
Raw
Normal View
History
Unescape
Escape
feat: replace validateIndexOld with validateIndex and add validateString for core methods
2014-01-03 18:47:26 +00:00
var a = [1, 2, 3]
a[-5] = 1 // expect runtime error: Subscript out of bounds.
Reference in New Issue
Copy Permalink