(values, callback, thisArg)
| 51 | |
| 52 | // IE8 doesn't support Array.forEach. |
| 53 | function forEach(values, callback, thisArg) { |
| 54 | if (values.forEach) { |
| 55 | values.forEach(callback, thisArg); |
| 56 | } else { |
| 57 | for (var i = 0; i < values.length; i++) { |
| 58 | callback.call(thisArg, values[i], i, values); |
| 59 | } |
| 60 | } |
| 61 | } |
| 62 | |
| 63 | // Replaces the specified method with the return value of funcSource. |
| 64 | // |
no outgoing calls
no test coverage detected