summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/defineProperties/15.2.3.7-6-a-4.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/defineProperties/15.2.3.7-6-a-4.js')
-rw-r--r--test/built-ins/Object/defineProperties/15.2.3.7-6-a-4.js40
1 files changed, 20 insertions, 20 deletions
diff --git a/test/built-ins/Object/defineProperties/15.2.3.7-6-a-4.js b/test/built-ins/Object/defineProperties/15.2.3.7-6-a-4.js
index 861d548cb..e1c624b55 100644
--- a/test/built-ins/Object/defineProperties/15.2.3.7-6-a-4.js
+++ b/test/built-ins/Object/defineProperties/15.2.3.7-6-a-4.js
@@ -8,26 +8,26 @@ description: >
an inherited accessor property (8.12.9 step 1 )
---*/
-var proto = {};
-Object.defineProperty(proto, "prop", {
- get: function() {
- return 11;
- },
- configurable: true
-});
-var Con = function() {};
-Con.prototype = proto;
+ var proto = {};
+ Object.defineProperty(proto, "prop", {
+ get: function () {
+ return 11;
+ },
+ configurable: true
+ });
+ var Con = function () { };
+ Con.prototype = proto;
-var obj = new Con();
-Object.defineProperty(obj, "prop", {
- value: 12,
- configurable: false
-});
+ var obj = new Con();
+ Object.defineProperty(obj, "prop", {
+ value: 12,
+ configurable: false
+ });
assert.throws(TypeError, function() {
- Object.defineProperties(obj, {
- prop: {
- value: 13,
- configurable: true
- }
- });
+ Object.defineProperties(obj, {
+ prop: {
+ value: 13,
+ configurable: true
+ }
+ });
});