summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/prototype/hasOwnProperty/8.12.1-1_24.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/prototype/hasOwnProperty/8.12.1-1_24.js')
-rw-r--r--test/built-ins/Object/prototype/hasOwnProperty/8.12.1-1_24.js7
1 files changed, 2 insertions, 5 deletions
diff --git a/test/built-ins/Object/prototype/hasOwnProperty/8.12.1-1_24.js b/test/built-ins/Object/prototype/hasOwnProperty/8.12.1-1_24.js
index 641f96b32..cf1cac60b 100644
--- a/test/built-ins/Object/prototype/hasOwnProperty/8.12.1-1_24.js
+++ b/test/built-ins/Object/prototype/hasOwnProperty/8.12.1-1_24.js
@@ -6,10 +6,7 @@ es5id: 8.12.1-1_24
description: Properties - [[HasOwnProperty]] (literal inherited setter property)
---*/
-var base = {
- set foo(x) {;
- }
-};
-var o = Object.create(base);
+ var base = { set foo(x) {;} };
+ var o = Object.create(base);
assert.sameValue(o.hasOwnProperty("foo"), false, 'o.hasOwnProperty("foo")');