summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/defineProperty/15.2.3.6-4-516.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-4-516.js')
-rw-r--r--test/built-ins/Object/defineProperty/15.2.3.6-4-516.js34
1 files changed, 17 insertions, 17 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-4-516.js b/test/built-ins/Object/defineProperty/15.2.3.6-4-516.js
index 523204109..29e30b240 100644
--- a/test/built-ins/Object/defineProperty/15.2.3.6-4-516.js
+++ b/test/built-ins/Object/defineProperty/15.2.3.6-4-516.js
@@ -10,27 +10,27 @@ description: >
value
---*/
- var obj = {};
- var getFunc = function () {
- return 1001;
- };
+var obj = {};
+var getFunc = function() {
+ return 1001;
+};
- Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: undefined,
- enumerable: false,
- configurable: true
- });
+Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: undefined,
+ enumerable: false,
+ configurable: true
+});
- var result1 = obj.prop === 1001;
- var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
+var result1 = obj.prop === 1001;
+var desc1 = Object.getOwnPropertyDescriptor(obj, "prop");
- Object.defineProperty(obj, "prop", {
- get: undefined
- });
+Object.defineProperty(obj, "prop", {
+ get: undefined
+});
- var result2 = typeof obj.prop === "undefined";
- var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
+var result2 = typeof obj.prop === "undefined";
+var desc2 = Object.getOwnPropertyDescriptor(obj, "prop");
assert(result1, 'result1 !== true');
assert(result2, 'result2 !== true');