Index: src/v8natives.js |
diff --git a/src/v8natives.js b/src/v8natives.js |
index a5627c8cf35fd93a93eb549a3fe7ad4cad10aeef..3cb9dfd63e756f2e080596a586dbff80ccf673e3 100644 |
--- a/src/v8natives.js |
+++ b/src/v8natives.js |
@@ -592,10 +592,10 @@ function GetProperty(obj, p) { |
// ES5 section 8.12.6 |
function HasProperty(obj, p) { |
if (%IsJSProxy(obj)) { |
- var handler = %GetHandler(obj) |
- var has = handler.has |
- if (IS_UNDEFINED(has)) has = DerivedHasTrap |
- return ToBoolean(has.call(handler, obj, p)) |
+ var handler = %GetHandler(obj); |
+ var has = handler.has; |
+ if (IS_UNDEFINED(has)) has = DerivedHasTrap; |
+ return ToBoolean(has.call(handler, obj, p)); |
} |
var desc = GetProperty(obj, p); |
return IS_UNDEFINED(desc) ? false : true; |