--- id: 5ddb965c65d27e1512d44dac title: Step 19 challengeType: 0 dashedName: step-19 --- # --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 */ }, {}); ``` # --hints-- See description above for instructions. ```js assert( code .replace(/\s/g, '') .match( /reduce\(\(accumulator\,currentValue\)\=\>\{\/\*codetorun\*\/\}\,0\)/ ) ); ``` # --seed-- ## --before-user-code-- ```html

Calorie Counter

Sex
Breakfast
Lunch
Dinner
``` ## --after-user-code-- ```html ``` ## --seed-contents-- ```html ``` # --solutions-- ```html ```