---
id: 5d792534c3d26890ac1484d4
title: Part 031
challengeType: 0
isBeta: true
---
## Description
The `map` method takes a function and for each element of an array, it passes the element to the function and replace the element with the return value:
```js
[1, 2, 3].map(x => x + 1); // [2, 3, 4]
```
In `toNumberList`, chain the `map` method to `args.split(",")` and pass it `parseFloat` to parse each element of the array into a number.
## Instructions
## Tests
```yml
tests:
- text: See description above for instructions.
testString: assert(code.replace(/\s/g, "").includes('consttoNumberList=args=>args.split(",").map(parseFloat)'));
```
## Challenge Seed
```html
```
### Before Test
### After Test
```html
```
## Solution