| "This test checks that uninitialized parameters for cached call functions correctly defaults to undefined." |
| function doForEach(arr) { |
| function callback(element, index, array, arg4, arg5, arg6) { |
| function shouldBeUndefined(_a) { |
| testFailed(_a + " should be undefined. Threw exception " + exception); |
| else if (typeof _av == "undefined") |
| testPassed(_a + " is undefined."); |
| testFailed(_a + " should be undefined. Was " + _av); |
| shouldBeUndefined("arg4"); |
| shouldBeUndefined("arg5"); |
| shouldBeUndefined("arg6"); |
| function callAfterRecursingForDepth(depth, func, arr) { |
| callAfterRecursingForDepth(depth - 1, func, arr); |
| callAfterRecursingForDepth(20, doForEach, arr); |