diff options
Diffstat (limited to 'test/built-ins/Object/defineProperties/15.2.3.7-6-a-192.js')
-rw-r--r-- | test/built-ins/Object/defineProperties/15.2.3.7-6-a-192.js | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/test/built-ins/Object/defineProperties/15.2.3.7-6-a-192.js b/test/built-ins/Object/defineProperties/15.2.3.7-6-a-192.js index 5c064cd64..e561d95d0 100644 --- a/test/built-ins/Object/defineProperties/15.2.3.7-6-a-192.js +++ b/test/built-ins/Object/defineProperties/15.2.3.7-6-a-192.js @@ -12,23 +12,23 @@ description: > var arr = []; assert.throws(TypeError, function() { - Object.defineProperty(Array.prototype, "0", { - value: 11, - configurable: true - }); + Object.defineProperty(Array.prototype, "0", { + value: 11, + configurable: true + }); - Object.defineProperty(arr, "0", { - get: function () { - return 12; - }, - configurable: false - }); + Object.defineProperty(arr, "0", { + get: function() { + return 12; + }, + configurable: false + }); - Object.defineProperties(arr, { - "0": { - configurable: true - } - }); + Object.defineProperties(arr, { + "0": { + configurable: true + } + }); }); assert.sameValue(arr[0], 12, 'arr[0]'); assert.sameValue(Array.prototype[0], 11, 'Array.prototype[0]'); |