summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/defineProperty/15.2.3.6-4-522.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-4-522.js')
-rw-r--r--test/built-ins/Object/defineProperty/15.2.3.6-4-522.js24
1 files changed, 12 insertions, 12 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-4-522.js b/test/built-ins/Object/defineProperty/15.2.3.6-4-522.js
index 95715c56e..7b4a2b78a 100644
--- a/test/built-ins/Object/defineProperty/15.2.3.6-4-522.js
+++ b/test/built-ins/Object/defineProperty/15.2.3.6-4-522.js
@@ -9,21 +9,21 @@ description: >
[[Configurable]] is false) is undefined
---*/
-var obj = {};
+ var obj = {};
-var getFunc = function() {
- return 1001;
-};
+ var getFunc = function () {
+ return 1001;
+ };
-Object.defineProperty(obj, "prop", {
- get: getFunc,
- set: undefined,
- enumerable: false,
- configurable: false
-});
+ Object.defineProperty(obj, "prop", {
+ get: getFunc,
+ set: undefined,
+ enumerable: false,
+ configurable: false
+ });
-var propertyDefineCorrect = obj.hasOwnProperty("prop");
-var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+ var propertyDefineCorrect = obj.hasOwnProperty("prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
assert(propertyDefineCorrect, 'propertyDefineCorrect !== true');
assert.sameValue(typeof desc.set, "undefined", 'typeof desc.set');