diff options
Diffstat (limited to 'test/built-ins/Object/seal/15.2.3.8-4-1.js')
-rw-r--r-- | test/built-ins/Object/seal/15.2.3.8-4-1.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/built-ins/Object/seal/15.2.3.8-4-1.js b/test/built-ins/Object/seal/15.2.3.8-4-1.js index 65ad90f6e..56ea87c30 100644 --- a/test/built-ins/Object/seal/15.2.3.8-4-1.js +++ b/test/built-ins/Object/seal/15.2.3.8-4-1.js @@ -6,13 +6,13 @@ es5id: 15.2.3.8-4-1 description: Object.seal - 'O' is sealed already ---*/ - var obj = {}; +var obj = {}; - obj.foo = 10; // default value of attributes: writable: true, configurable: true, enumerable: true - var preCheck = Object.isExtensible(obj); - Object.seal(obj); +obj.foo = 10; // default value of attributes: writable: true, configurable: true, enumerable: true +var preCheck = Object.isExtensible(obj); +Object.seal(obj); - Object.seal(obj); +Object.seal(obj); assert(preCheck, 'preCheck !== true'); assert(Object.isSealed(obj), 'Object.isSealed(obj) !== true'); |