diff options
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-4-582.js')
-rw-r--r-- | test/built-ins/Object/defineProperty/15.2.3.6-4-582.js | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-4-582.js b/test/built-ins/Object/defineProperty/15.2.3.6-4-582.js index 7895b7455..af5292564 100644 --- a/test/built-ins/Object/defineProperty/15.2.3.6-4-582.js +++ b/test/built-ins/Object/defineProperty/15.2.3.6-4-582.js @@ -8,22 +8,22 @@ description: > instance) ---*/ - var data = "data"; +var data = "data"; - Object.defineProperty(Function.prototype, "prop", { - get: function () { - return data; - }, - enumerable: false, - configurable: true - }); - var funObj = function () { }; - var verifyEnumerable = false; - for (var p in funObj) { - if (p === "prop") { - verifyEnumerable = true; - } - } +Object.defineProperty(Function.prototype, "prop", { + get: function() { + return data; + }, + enumerable: false, + configurable: true +}); +var funObj = function() {}; +var verifyEnumerable = false; +for (var p in funObj) { + if (p === "prop") { + verifyEnumerable = true; + } +} assert.sameValue(funObj.hasOwnProperty("prop"), false, 'funObj.hasOwnProperty("prop")'); assert.sameValue(verifyEnumerable, false, 'verifyEnumerable'); |