summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/defineProperties/15.2.3.7-5-b-252.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/defineProperties/15.2.3.7-5-b-252.js')
-rw-r--r--test/built-ins/Object/defineProperties/15.2.3.7-5-b-252.js24
1 files changed, 12 insertions, 12 deletions
diff --git a/test/built-ins/Object/defineProperties/15.2.3.7-5-b-252.js b/test/built-ins/Object/defineProperties/15.2.3.7-5-b-252.js
index bfbc5cba0..5003f3e48 100644
--- a/test/built-ins/Object/defineProperties/15.2.3.7-5-b-252.js
+++ b/test/built-ins/Object/defineProperties/15.2.3.7-5-b-252.js
@@ -8,19 +8,19 @@ description: >
undefined (8.10.5 step 8.b)
---*/
-var getFun = function() {
- return 11;
-};
+ var getFun = function () {
+ return 11;
+ };
-var obj = {};
-Object.defineProperties(obj, {
- prop: {
- get: getFun,
- set: undefined
- }
-});
+ var obj = {};
+ Object.defineProperties(obj, {
+ prop: {
+ get: getFun,
+ set: undefined
+ }
+ });
-var desc = Object.getOwnPropertyDescriptor(obj, "prop");
+ var desc = Object.getOwnPropertyDescriptor(obj, "prop");
assert(obj.hasOwnProperty("prop"), 'obj.hasOwnProperty("prop") !== true');
-assert.sameValue(typeof(desc.set), "undefined", 'typeof (desc.set)');
+assert.sameValue(typeof (desc.set), "undefined", 'typeof (desc.set)');