Better argument validation for some list methods.
This commit is contained in:
@@ -1,6 +1,3 @@
|
||||
// TODO: What happens if the index isn't an integer?
|
||||
// TODO: Out of bounds.
|
||||
|
||||
// Add to empty list.
|
||||
var a = []
|
||||
a.insert(1, 0)
|
||||
|
||||
Reference in New Issue
Block a user