summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/defineProperty/15.2.3.6-4-147.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-4-147.js')
-rw-r--r--test/built-ins/Object/defineProperty/15.2.3.6-4-147.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-4-147.js b/test/built-ins/Object/defineProperty/15.2.3.6-4-147.js
index 4274ebbb3..7549f17bd 100644
--- a/test/built-ins/Object/defineProperty/15.2.3.6-4-147.js
+++ b/test/built-ins/Object/defineProperty/15.2.3.6-4-147.js
@@ -9,14 +9,14 @@ description: >
which has an own valueOf method (15.4.5.1 step 3.c)
---*/
- var arrObj = [];
+var arrObj = [];
- Object.defineProperty(arrObj, "length", {
- value: {
- valueOf: function () {
- return 2;
- }
- }
- });
+Object.defineProperty(arrObj, "length", {
+ value: {
+ valueOf: function() {
+ return 2;
+ }
+ }
+});
assert.sameValue(arrObj.length, 2, 'arrObj.length');