/// Copyright (c) 2012 Ecma International.  All rights reserved. 
/**
 * @path ch15/15.4/15.4.4/15.4.4.18/15.4.4.18-7-c-ii-12.js
 * @description Array.prototype.forEach - callbackfn is called with 3 formal parameter
 */


function testcase() {

        var result = false;
        function callbackfn(val, idx, obj) {
            result = (val > 10 && obj[idx] === val);
        }

        [11].forEach(callbackfn);
        return result;
    }
runTestCase(testcase);
