Better argument validation for some list methods.
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
var a = [1, 2, 3]
|
||||
a.insert("value", -5) // expect runtime error: Index out of bounds.
|
||||
Reference in New Issue
Block a user