Better argument validation for some list methods.

This commit is contained in:
Bob Nystrom
2014-01-02 07:32:00 -08:00
parent a0c32f2e6e
commit a89386b4e8
25 changed files with 133 additions and 65 deletions
+2
View File
@@ -0,0 +1,2 @@
var a = [1, 2, 3]
a.insert("value", 1.5) // expect runtime error: Index must be an integer.