diff options
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.js | 8 |
1 files changed, 6 insertions, 2 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 0e9e30575..915cf98a0 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,7 +8,11 @@ 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'); |