--- id: 5ddb965c65d27e1512d44dac title: Part 19 challengeType: 0 isBeta: true --- ## Description
Provide the number zero as the initial value of the `reduce()` method by passing it as the second argument. Here is an example of a `reduce()` method with an empty object as its initial value: ```js arr.reduce((accumulator, currentValue) => { /*code to run*/ }, {}); ```
## Instructions
## Tests
```yml tests: - text: See description above for instructions. testString: assert( code.replace(/\s/g, '').match(/reduce\(\(accumulator\,currentValue\)\=\>\{\/\*codetorun\*\/\}\,0\)/) ); ```
## Challenge Seed
```html ```
### Before Test
```html

Calorie Counter

Sex
Breakfast
Lunch
Dinner
```
### After Test
```html ```
## Solution
```html ```