diff options
Diffstat (limited to 'test/built-ins/Object/defineProperties/15.2.3.7-5-a-16.js')
-rw-r--r-- | test/built-ins/Object/defineProperties/15.2.3.7-5-a-16.js | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/test/built-ins/Object/defineProperties/15.2.3.7-5-a-16.js b/test/built-ins/Object/defineProperties/15.2.3.7-5-a-16.js index 1a3215844..2363f6785 100644 --- a/test/built-ins/Object/defineProperties/15.2.3.7-5-a-16.js +++ b/test/built-ins/Object/defineProperties/15.2.3.7-5-a-16.js @@ -8,19 +8,19 @@ description: > implements its own [[Get]] method to get enumerable own property ---*/ -var obj = {}; -var props = new Error("test"); -var obj1 = { - value: 11 -}; -props.message = obj1; -props.name = obj1; -props.description = obj1; + var obj = {}; + var props = new Error("test"); + var obj1 = { + value: 11 + }; + props.message = obj1; + props.name = obj1; + props.description = obj1; -props.prop = { - value: 16 -}; -Object.defineProperties(obj, props); + props.prop = { + value: 16 + }; + Object.defineProperties(obj, props); assert(obj.hasOwnProperty("prop"), 'obj.hasOwnProperty("prop") !== true'); assert.sameValue(obj.prop, 16, 'obj.prop'); |