Index: src/collection.js |
diff --git a/src/collection.js b/src/collection.js |
index 9ebe18664019a4aed8b265dcda727bb399060872..10e02953cda7c0dc9db1515325980da914533435 100644 |
--- a/src/collection.js |
+++ b/src/collection.js |
@@ -222,7 +222,7 @@ |
while (%SetIteratorNext(iterator, value_array)) { |
if (stepping) %DebugPrepareStepInIfStepping(f); |
key = value_array[0]; |
- var new_receiver = needs_wrapper ? $toObject(receiver) : receiver; |
+ var new_receiver = needs_wrapper ? ToObject(receiver) : receiver; |
%_CallFunction(new_receiver, key, key, this, f); |
} |
} |
@@ -410,7 +410,7 @@ |
var value_array = [UNDEFINED, UNDEFINED]; |
while (%MapIteratorNext(iterator, value_array)) { |
if (stepping) %DebugPrepareStepInIfStepping(f); |
- var new_receiver = needs_wrapper ? $toObject(receiver) : receiver; |
+ var new_receiver = needs_wrapper ? ToObject(receiver) : receiver; |
%_CallFunction(new_receiver, value_array[1], value_array[0], this, f); |
} |
} |