Index: src/harmony-array-includes.js |
diff --git a/src/harmony-array-includes.js b/src/harmony-array-includes.js |
index dc54469b00e33ffae645d137ede861a7319c0ea3..c8cf788072dd2ca5d9e1feb68a141de287e19525 100644 |
--- a/src/harmony-array-includes.js |
+++ b/src/harmony-array-includes.js |
@@ -16,14 +16,14 @@ |
// https://github.com/tc39/Array.prototype.includes |
// 6e3b78c927aeda20b9d40e81303f9d44596cd904 |
function ArrayIncludes(searchElement, fromIndex) { |
- var array = $toObject(this); |
- var len = $toLength(array.length); |
+ var array = ToObject(this); |
+ var len = ToLength(array.length); |
if (len === 0) { |
return false; |
} |
- var n = $toInteger(fromIndex); |
+ var n = ToInteger(fromIndex); |
var k; |
if (n >= 0) { |
@@ -37,7 +37,7 @@ |
while (k < len) { |
var elementK = array[k]; |
- if ($sameValueZero(searchElement, elementK)) { |
+ if (SameValueZero(searchElement, elementK)) { |
return true; |
} |