diff options
Diffstat (limited to 'test/built-ins/Object/getOwnPropertyNames/15.2.3.4-4-46.js')
-rw-r--r-- | test/built-ins/Object/getOwnPropertyNames/15.2.3.4-4-46.js | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/test/built-ins/Object/getOwnPropertyNames/15.2.3.4-4-46.js b/test/built-ins/Object/getOwnPropertyNames/15.2.3.4-4-46.js index 85773d0cd..0e3d3586f 100644 --- a/test/built-ins/Object/getOwnPropertyNames/15.2.3.4-4-46.js +++ b/test/built-ins/Object/getOwnPropertyNames/15.2.3.4-4-46.js @@ -8,17 +8,17 @@ description: > object 'O' is not pushed into the returned array. ---*/ - var arr = [0, 1, 2]; +var arr = [0, 1, 2]; - Object.defineProperty(Array.prototype, "protoProperty", { - get: function () { - return "protoArray"; - }, - configurable: true - }); +Object.defineProperty(Array.prototype, "protoProperty", { + get: function() { + return "protoArray"; + }, + configurable: true +}); - var result = Object.getOwnPropertyNames(arr); +var result = Object.getOwnPropertyNames(arr); - for (var p in result) { - assert.notSameValue(result[p], "protoProperty", 'result[p]'); - } +for (var p in result) { + assert.notSameValue(result[p], "protoProperty", 'result[p]'); +} |