Index: src/js/array.js |
diff --git a/src/js/array.js b/src/js/array.js |
index fca75a3f65f85f32e3300f3669f056793fbf7973..e350dbcfbf2714b70c07b90a03edcb3f0211cf29 100644 |
--- a/src/js/array.js |
+++ b/src/js/array.js |
@@ -1569,6 +1569,8 @@ utils.InstallFunctions(GlobalArray.prototype, DONT_ENUM, [ |
iteratorSymbol, ArrayValues |
]); |
+utils.ForEachFunction = GlobalArray.prototype.forEach; |
+ |
%FunctionSetName(ArrayValues, "values"); |
%FinishArrayPrototypeSetup(GlobalArray.prototype); |