summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/defineProperty/15.2.3.6-4-34.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-4-34.js')
-rw-r--r--test/built-ins/Object/defineProperty/15.2.3.6-4-34.js18
1 files changed, 9 insertions, 9 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-4-34.js b/test/built-ins/Object/defineProperty/15.2.3.6-4-34.js
index b275043fb..323bd5e01 100644
--- a/test/built-ins/Object/defineProperty/15.2.3.6-4-34.js
+++ b/test/built-ins/Object/defineProperty/15.2.3.6-4-34.js
@@ -9,16 +9,16 @@ description: >
step 1)
---*/
-var arrObj = [];
+ var arrObj = [];
-Object.defineProperty(arrObj, "foo", {
- value: 12,
- configurable: false
-});
+ Object.defineProperty(arrObj, "foo", {
+ value: 12,
+ configurable: false
+ });
assert.throws(TypeError, function() {
- Object.defineProperty(arrObj, "foo", {
- value: 11,
- configurable: true
- });
+ Object.defineProperty(arrObj, "foo", {
+ value: 11,
+ configurable: true
+ });
});
assert.sameValue(arrObj.foo, 12, 'arrObj.foo');