summaryrefslogtreecommitdiff
path: root/test/built-ins/Array/prototype/forEach/15.4.4.18-5-6.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Array/prototype/forEach/15.4.4.18-5-6.js')
-rw-r--r--test/built-ins/Array/prototype/forEach/15.4.4.18-5-6.js7
1 files changed, 1 insertions, 6 deletions
diff --git a/test/built-ins/Array/prototype/forEach/15.4.4.18-5-6.js b/test/built-ins/Array/prototype/forEach/15.4.4.18-5-6.js
index af0edefc7..c80661177 100644
--- a/test/built-ins/Array/prototype/forEach/15.4.4.18-5-6.js
+++ b/test/built-ins/Array/prototype/forEach/15.4.4.18-5-6.js
@@ -4,10 +4,8 @@
/*---
es5id: 15.4.4.18-5-6
description: Array.prototype.forEach - thisArg is function
-includes: [runTestCase.js]
---*/
-function testcase() {
var res = false;
var result;
function callbackfn(val, idx, obj)
@@ -20,8 +18,5 @@ function testcase() {
var arr = [1];
arr.forEach(callbackfn,foo)
- if( result === true)
- return true;
- }
-runTestCase(testcase);
+assert.sameValue(result, true, 'result');