diff options
Diffstat (limited to 'test/built-ins/Object/keys/15.2.3.14-5-5.js')
-rw-r--r-- | test/built-ins/Object/keys/15.2.3.14-5-5.js | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/test/built-ins/Object/keys/15.2.3.14-5-5.js b/test/built-ins/Object/keys/15.2.3.14-5-5.js index 996f595a1..3be1366f9 100644 --- a/test/built-ins/Object/keys/15.2.3.14-5-5.js +++ b/test/built-ins/Object/keys/15.2.3.14-5-5.js @@ -8,20 +8,20 @@ description: > defined in returned array ---*/ - var proto = {}; - Object.defineProperty(proto, "inheritedProp", { - value: 1003, - enumerable: true, - configurable: true - }); - var Con = function () { }; - Con.prototype = proto; +var proto = {}; +Object.defineProperty(proto, "inheritedProp", { + value: 1003, + enumerable: true, + configurable: true +}); +var Con = function() {}; +Con.prototype = proto; - var obj = new Con(); - obj.prop = 1004; +var obj = new Con(); +obj.prop = 1004; - var arr = Object.keys(obj); +var arr = Object.keys(obj); - for (var p in arr) { - assert.notSameValue(arr[p], "inheritedProp", 'arr[p]'); - } +for (var p in arr) { + assert.notSameValue(arr[p], "inheritedProp", 'arr[p]'); +} |