summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/prototype/hasOwnProperty/8.12.1-1_31.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/prototype/hasOwnProperty/8.12.1-1_31.js')
-rw-r--r--test/built-ins/Object/prototype/hasOwnProperty/8.12.1-1_31.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/test/built-ins/Object/prototype/hasOwnProperty/8.12.1-1_31.js b/test/built-ins/Object/prototype/hasOwnProperty/8.12.1-1_31.js
index 915cf98a0..0e9e30575 100644
--- a/test/built-ins/Object/prototype/hasOwnProperty/8.12.1-1_31.js
+++ b/test/built-ins/Object/prototype/hasOwnProperty/8.12.1-1_31.js
@@ -8,11 +8,7 @@ description: >
setter property)
---*/
-var o = {};
-Object.defineProperty(o, "foo", {
- set: function() {;
- },
- enumerable: true
-});
+ var o = {};
+ Object.defineProperty(o, "foo", {set: function() {;}, enumerable:true});
assert(o.hasOwnProperty("foo"), 'o.hasOwnProperty("foo") !== true');