diff options
Diffstat (limited to 'test/built-ins/Object/prototype/hasOwnProperty/8.12.1-1_10.js')
-rw-r--r-- | test/built-ins/Object/prototype/hasOwnProperty/8.12.1-1_10.js | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/test/built-ins/Object/prototype/hasOwnProperty/8.12.1-1_10.js b/test/built-ins/Object/prototype/hasOwnProperty/8.12.1-1_10.js index 7a952e209..0e5e905e3 100644 --- a/test/built-ins/Object/prototype/hasOwnProperty/8.12.1-1_10.js +++ b/test/built-ins/Object/prototype/hasOwnProperty/8.12.1-1_10.js @@ -6,14 +6,9 @@ es5id: 8.12.1-1_10 description: > Properties - [[HasOwnProperty]] (writable, configurable, non-enumerable own value property) -includes: [runTestCase.js] ---*/ -function testcase() { - var o = {}; Object.defineProperty(o, "foo", {value: 42, writable:true, configurable:true}); - return o.hasOwnProperty("foo"); -} -runTestCase(testcase); +assert(o.hasOwnProperty("foo"), 'o.hasOwnProperty("foo") !== true'); |