summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/defineProperty/15.2.3.6-4-111.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-4-111.js')
-rw-r--r--test/built-ins/Object/defineProperty/15.2.3.6-4-111.js38
1 files changed, 19 insertions, 19 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-4-111.js b/test/built-ins/Object/defineProperty/15.2.3.6-4-111.js
index c61565170..dfdd3d42e 100644
--- a/test/built-ins/Object/defineProperty/15.2.3.6-4-111.js
+++ b/test/built-ins/Object/defineProperty/15.2.3.6-4-111.js
@@ -9,30 +9,30 @@ description: >
(8.12.9 step 12)
---*/
- var obj = {};
+var obj = {};
- function getFunc() {
- return 10;
- }
+function getFunc() {
+ return 10;
+}
- function setFunc(value) {
- obj.setVerifyHelpProp = value;
- }
+function setFunc(value) {
+ obj.setVerifyHelpProp = value;
+}
- Object.defineProperty(obj, "foo", {
- get: getFunc,
- set: setFunc,
- enumerable: true,
- configurable: true
- });
+Object.defineProperty(obj, "foo", {
+ get: getFunc,
+ set: setFunc,
+ enumerable: true,
+ configurable: true
+});
- Object.defineProperty(obj, "foo", {
- set: undefined,
- get: getFunc
- });
+Object.defineProperty(obj, "foo", {
+ set: undefined,
+ get: getFunc
+});
- var desc = Object.getOwnPropertyDescriptor(obj, "foo");
+var desc = Object.getOwnPropertyDescriptor(obj, "foo");
assert(obj.hasOwnProperty("foo"), 'obj.hasOwnProperty("foo") !== true');
-assert.sameValue(typeof (desc.set), "undefined", 'typeof (desc.set)');
+assert.sameValue(typeof(desc.set), "undefined", 'typeof (desc.set)');