diff options
author | Rick Waldron <waldron.rick@gmail.com> | 2018-02-15 15:33:45 -0500 |
---|---|---|
committer | Leo Balter <leonardo.balter@gmail.com> | 2018-02-15 15:33:45 -0500 |
commit | a61b9cd671f3378c4078c0a58dd8b8be073f8cef (patch) | |
tree | 1d0e29b2fc9477ac9956c904ea051e29c3b13f2d /test/built-ins/Object/getOwnPropertyDescriptor/15.2.3.3-3-4.js | |
parent | dedd68020b222fe79fb4fe9f84465e842e4ca61f (diff) |
built-ins/Object/*: make all indentation consistent (depth & character) (#1432)
Diffstat (limited to 'test/built-ins/Object/getOwnPropertyDescriptor/15.2.3.3-3-4.js')
-rw-r--r-- | test/built-ins/Object/getOwnPropertyDescriptor/15.2.3.3-3-4.js | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/test/built-ins/Object/getOwnPropertyDescriptor/15.2.3.3-3-4.js b/test/built-ins/Object/getOwnPropertyDescriptor/15.2.3.3-3-4.js index a01c60d49..851c54d28 100644 --- a/test/built-ins/Object/getOwnPropertyDescriptor/15.2.3.3-3-4.js +++ b/test/built-ins/Object/getOwnPropertyDescriptor/15.2.3.3-3-4.js @@ -8,23 +8,23 @@ description: > overrides an inherited accessor property ---*/ - var proto = {}; - Object.defineProperty(proto, "property", { - get: function () { - return "inheritedDataProperty"; - }, - configurable: true - }); +var proto = {}; +Object.defineProperty(proto, "property", { + get: function() { + return "inheritedDataProperty"; + }, + configurable: true +}); - var Con = function () { }; - Con.ptototype = proto; +var Con = function() {}; +Con.ptototype = proto; - var child = new Con(); - Object.defineProperty(child, "property", { - value: "ownDataProperty", - configurable: true - }); +var child = new Con(); +Object.defineProperty(child, "property", { + value: "ownDataProperty", + configurable: true +}); - var desc = Object.getOwnPropertyDescriptor(child, "property"); +var desc = Object.getOwnPropertyDescriptor(child, "property"); assert.sameValue(desc.value, "ownDataProperty", 'desc.value'); |