Index: src/array.js |
diff --git a/src/array.js b/src/array.js |
index 250c30c32b04d0ea96763010cee4699185ce0490..155d5659415c6eb5bccc84e221f477100da448ee 100644 |
--- a/src/array.js |
+++ b/src/array.js |
@@ -1549,9 +1549,11 @@ function SetUpArray() { |
// exposed to user code. |
// Adding only the functions that are actually used. |
SetUpLockedPrototype(InternalArray, $Array(), $Array( |
+ "indexOf", getFunction("indexOf", ArrayIndexOf), |
"join", getFunction("join", ArrayJoin), |
"pop", getFunction("pop", ArrayPop), |
- "push", getFunction("push", ArrayPush) |
+ "push", getFunction("push", ArrayPush), |
+ "splice", getFunction("splice", ArraySplice) |
)); |
} |