Index: src/js/v8natives.js |
diff --git a/src/js/v8natives.js b/src/js/v8natives.js |
index 711a22fe64ca8e0a43aecf2fe8aaed46bc066d14..9a775883c423199d3e65dfa44b2257584aee196f 100644 |
--- a/src/js/v8natives.js |
+++ b/src/js/v8natives.js |
@@ -183,18 +183,10 @@ function ObjectValueOf() { |
} |
-// ECMA-262 - 15.2.4.5 |
+// ES6 7.3.11 |
function ObjectHasOwnProperty(value) { |
var name = TO_NAME(value); |
var object = TO_OBJECT(this); |
- |
- if (%_IsJSProxy(object)) { |
- // TODO(rossberg): adjust once there is a story for symbols vs proxies. |
- if (IS_SYMBOL(value)) return false; |
- |
- var handler = %GetHandler(object); |
- return CallTrap1(handler, "hasOwn", ProxyDerivedHasOwnTrap, name); |
- } |
return %HasOwnProperty(object, name); |
} |