Index: src/runtime.js |
diff --git a/src/runtime.js b/src/runtime.js |
index c91861f0ff4dbb78cf60a13922bedbd5b279989d..4b600df7360b3431f9a3834937a022e35d1a4648 100644 |
--- a/src/runtime.js |
+++ b/src/runtime.js |
@@ -366,7 +366,7 @@ function IN(x) { |
function INSTANCE_OF(F) { |
var V = this; |
if (!IS_FUNCTION(F)) { |
- throw %MakeTypeError('instanceof_function_expected', [F]); |
+ throw %MakeTypeError('instanceof_function_expected', [V]); |
} |
// If V is not an object, return false. |