diff options
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-2-39.js')
-rw-r--r-- | test/built-ins/Object/defineProperty/15.2.3.6-2-39.js | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-2-39.js b/test/built-ins/Object/defineProperty/15.2.3.6-2-39.js index abcb87224..37a927863 100644 --- a/test/built-ins/Object/defineProperty/15.2.3.6-2-39.js +++ b/test/built-ins/Object/defineProperty/15.2.3.6-2-39.js @@ -6,14 +6,9 @@ es5id: 15.2.3.6-2-39 description: > Object.defineProperty - argument 'P' is an array that converts to a string -includes: [runTestCase.js] ---*/ -function testcase() { var obj = {}; Object.defineProperty(obj, [1, 2], {}); - return obj.hasOwnProperty("1,2"); - - } -runTestCase(testcase); +assert(obj.hasOwnProperty("1,2"), 'obj.hasOwnProperty("1,2") !== true'); |