Index: src/array.js |
diff --git a/src/array.js b/src/array.js |
index e6c13d9547c5f114480706f46ebd2a6d3c2bdd69..a12fdc84bc2a46007160efe4fb1a2b5b4ceb8de7 100644 |
--- a/src/array.js |
+++ b/src/array.js |
@@ -742,8 +742,7 @@ function ArraySort(comparefn) { |
else return x < y ? -1 : 1; |
}; |
} |
- var receiver = |
- %_IsNativeOrStrictMode(comparefn) ? void 0 : %GetGlobalReceiver(); |
+ var receiver = %GetDefaultReceiver(comparefn); |
function InsertionSort(a, from, to) { |
for (var i = from + 1; i < to; i++) { |