diff options
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-4-405.js')
-rw-r--r-- | test/built-ins/Object/defineProperty/15.2.3.6-4-405.js | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-4-405.js b/test/built-ins/Object/defineProperty/15.2.3.6-4-405.js index 3f7a50438..a6baa7252 100644 --- a/test/built-ins/Object/defineProperty/15.2.3.6-4-405.js +++ b/test/built-ins/Object/defineProperty/15.2.3.6-4-405.js @@ -10,14 +10,14 @@ description: > includes: [propertyHelper.js] ---*/ - Object.defineProperty(Number.prototype, "prop", { - value: 1001, - writable: false, - enumerable: false, - configurable: true - }); - - var numObj = new Number(); +Object.defineProperty(Number.prototype, "prop", { + value: 1001, + writable: false, + enumerable: false, + configurable: true +}); - assert(!numObj.hasOwnProperty("prop")); - verifyNotWritable(numObj, "prop", "noCheckOwnProp"); +var numObj = new Number(); + +assert(!numObj.hasOwnProperty("prop")); +verifyNotWritable(numObj, "prop", "noCheckOwnProp"); |