diff options
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-4-316-1.js')
-rw-r--r-- | test/built-ins/Object/defineProperty/15.2.3.6-4-316-1.js | 33 |
1 files changed, 16 insertions, 17 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-4-316-1.js b/test/built-ins/Object/defineProperty/15.2.3.6-4-316-1.js index e412d2e31..3b84cf6e3 100644 --- a/test/built-ins/Object/defineProperty/15.2.3.6-4-316-1.js +++ b/test/built-ins/Object/defineProperty/15.2.3.6-4-316-1.js @@ -11,24 +11,23 @@ description: > includes: [propertyHelper.js] ---*/ -(function (a, b, c) { - Object.defineProperty(arguments, "genericProperty", { - value: 1001, - writable: true, - enumerable: true, - configurable: true - }); - Object.defineProperty(arguments, "genericProperty", { - value: 1002, - enumerable: false, - configurable: false - }); - verifyEqualTo(arguments, "genericProperty", 1002); +(function(a, b, c) { + Object.defineProperty(arguments, "genericProperty", { + value: 1001, + writable: true, + enumerable: true, + configurable: true + }); + Object.defineProperty(arguments, "genericProperty", { + value: 1002, + enumerable: false, + configurable: false + }); + verifyEqualTo(arguments, "genericProperty", 1002); - verifyWritable(arguments, "genericProperty"); + verifyWritable(arguments, "genericProperty"); - verifyNotEnumerable(arguments, "genericProperty"); + verifyNotEnumerable(arguments, "genericProperty"); - verifyNotConfigurable(arguments, "genericProperty"); + verifyNotConfigurable(arguments, "genericProperty"); }(1, 2, 3)); - |