diff options
Diffstat (limited to 'test/built-ins/Array/prototype/forEach/15.4.4.18-7-c-ii-6.js')
-rw-r--r-- | test/built-ins/Array/prototype/forEach/15.4.4.18-7-c-ii-6.js | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/test/built-ins/Array/prototype/forEach/15.4.4.18-7-c-ii-6.js b/test/built-ins/Array/prototype/forEach/15.4.4.18-7-c-ii-6.js index a01650faf..836d290fe 100644 --- a/test/built-ins/Array/prototype/forEach/15.4.4.18-7-c-ii-6.js +++ b/test/built-ins/Array/prototype/forEach/15.4.4.18-7-c-ii-6.js @@ -6,11 +6,8 @@ es5id: 15.4.4.18-7-c-ii-6 description: > Array.prototype.forEach - arguments to callbackfn are self consistent -includes: [runTestCase.js] ---*/ -function testcase() { - var result = false; var obj = { 0: 11, length: 1 }; var thisArg = {}; @@ -23,6 +20,5 @@ function testcase() { } Array.prototype.forEach.call(obj, callbackfn, thisArg); - return result; - } -runTestCase(testcase); + +assert(result, 'result !== true'); |