---
id: 5ddb965c65d27e1512d44daa
title: Part 17
challengeType: 0
isBeta: true
---
## Description
While you can use a loop to add everything in the `total` array to a variable, JavaScript provides the useful `reduce()` method.
Chain the `reduce()` method to the `Array.from()` expression.
## Instructions
## Tests
```yml
tests:
- text: See description above for instructions.
testString: assert( code.replace(/\s/g, '').match(/Number\(meal\.value\)\)\.reduce\(\)/) );
```
## Challenge Seed
```html
```
### Before Test
### After Test
```html