diff options
Diffstat (limited to 'test/built-ins/Object/defineProperties/15.2.3.7-5-b-49.js')
-rw-r--r-- | test/built-ins/Object/defineProperties/15.2.3.7-5-b-49.js | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/test/built-ins/Object/defineProperties/15.2.3.7-5-b-49.js b/test/built-ins/Object/defineProperties/15.2.3.7-5-b-49.js index cbf2194ed..48c40d9bd 100644 --- a/test/built-ins/Object/defineProperties/15.2.3.7-5-b-49.js +++ b/test/built-ins/Object/defineProperties/15.2.3.7-5-b-49.js @@ -8,18 +8,18 @@ description: > 'descObj' is the Math object (8.10.5 step 3.b) ---*/ - var obj = {}; - var accessed = false; +var obj = {}; +var accessed = false; - Object.defineProperties(obj, { - prop: { - enumerable: Math - } - }); - for (var property in obj) { - if (property === "prop") { - accessed = true; - } - } +Object.defineProperties(obj, { + prop: { + enumerable: Math + } +}); +for (var property in obj) { + if (property === "prop") { + accessed = true; + } +} assert(accessed, 'accessed !== true'); |