--- id: 5d792538e2a8d20cc580d481 title: Part 115 challengeType: 0 isBeta: true --- ## Description
The `slice` method can also work on arrays. Add a method `firsttwo` to `spreadsheetFunctions` which takes `arr` as argument and uses `slice` to return the first two elements of `arr`.
## Instructions
## Tests
```yml tests: - text: See description above for instructions. testString: assert(JSON.stringify(spreadsheetFunctions.firsttwo([2, 6, 1, 4, 3])) === "[2,6]"); ```
## Challenge Seed
```html ```
### Before Test
```html Spreadsheet
```
### After Test
```html ```
## Solution
```html ```