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
6609bf24120e0b7a70b0d2542278b1c78a676f74
wren
/
test
/
string
/
subscript_not_num.wren
T
3 lines
85 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 = "123"
feat: add range subscripting support for strings with CalculatedRange helper
2015-01-17 07:20:56 +00:00
a["2"] // expect runtime error: Subscript must be a number or a range.
Reference in New Issue
Copy Permalink