summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/defineProperties/15.2.3.7-6-a-185.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/defineProperties/15.2.3.7-6-a-185.js')
-rw-r--r--test/built-ins/Object/defineProperties/15.2.3.7-6-a-185.js18
1 files changed, 9 insertions, 9 deletions
diff --git a/test/built-ins/Object/defineProperties/15.2.3.7-6-a-185.js b/test/built-ins/Object/defineProperties/15.2.3.7-6-a-185.js
index 3698753c5..04268e171 100644
--- a/test/built-ins/Object/defineProperties/15.2.3.7-6-a-185.js
+++ b/test/built-ins/Object/defineProperties/15.2.3.7-6-a-185.js
@@ -10,17 +10,17 @@ description: >
of the length property in 'O' (15.4.5.1 step 4.b)
---*/
- var arr = [1, 2, 3];
+var arr = [1, 2, 3];
- Object.defineProperty(arr, "length", {
- writable: false
- });
+Object.defineProperty(arr, "length", {
+ writable: false
+});
assert.throws(TypeError, function() {
- Object.defineProperties(arr, {
- "4": {
- value: "abc"
- }
- });
+ Object.defineProperties(arr, {
+ "4": {
+ value: "abc"
+ }
+ });
});
assert.sameValue(arr[0], 1, 'arr[0]');
assert.sameValue(arr[1], 2, 'arr[1]');