# ee.Reducer.forEach

Creates a Reducer by combining a copy of the given reducer for each output name in the given list. If the reducer has a single output, the output names are used as-is; otherwise they are prefixed to the original output names.

<br />

| Usage | Returns |
|---|---|
| `Reducer.forEach(outputNames)` | Reducer |

| Argument | Type | Details |
|---|---|---|
| this: `reducer` | Reducer |   |
| `outputNames` | List |   |