Index: src/js/harmony-array-includes.js |
diff --git a/src/js/harmony-array-includes.js b/src/js/harmony-array-includes.js |
index a6b59137d217f6a4c961333bca2220f554d0a6f6..54f68a7ce30d3e86f66432c9bdb75a6413c81d35 100644 |
--- a/src/js/harmony-array-includes.js |
+++ b/src/js/harmony-array-includes.js |
@@ -9,6 +9,11 @@ |
%CheckIsBootstrapping(); |
var GlobalArray = global.Array; |
+var SameValueZero; |
+ |
+utils.Import(function(from) { |
+ SameValueZero = from.SameValueZero; |
+}); |
// ------------------------------------------------------------------- |
@@ -34,7 +39,7 @@ function InnerArrayIncludes(searchElement, fromIndex, array, length) { |
while (k < length) { |
var elementK = array[k]; |
- if ($sameValueZero(searchElement, elementK)) { |
+ if (SameValueZero(searchElement, elementK)) { |
return true; |
} |