diff options
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-4-431.js')
-rw-r--r-- | test/built-ins/Object/defineProperty/15.2.3.6-4-431.js | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-4-431.js b/test/built-ins/Object/defineProperty/15.2.3.6-4-431.js index ad0e57ba9..f80f41183 100644 --- a/test/built-ins/Object/defineProperty/15.2.3.6-4-431.js +++ b/test/built-ins/Object/defineProperty/15.2.3.6-4-431.js @@ -9,17 +9,17 @@ description: > [[Configurable]] is false) is undefined ---*/ - var obj = {}; +var obj = {}; - Object.defineProperty(obj, "prop", { - get: undefined, - set: undefined, - enumerable: true, - configurable: false - }); +Object.defineProperty(obj, "prop", { + get: undefined, + set: undefined, + enumerable: true, + configurable: false +}); - var propertyDefineCorrect = obj.hasOwnProperty("prop"); - var desc = Object.getOwnPropertyDescriptor(obj, "prop"); +var propertyDefineCorrect = obj.hasOwnProperty("prop"); +var desc = Object.getOwnPropertyDescriptor(obj, "prop"); assert(propertyDefineCorrect, 'propertyDefineCorrect !== true'); assert.sameValue(typeof desc.get, "undefined", 'typeof desc.get'); |