--- title: Hailstone sequence id: 595608ff8bcd7a50bd490181 challengeType: 5 videoUrl: '' localeTitle: '' --- ## Description undefined ## Instructions undefined ## Tests
```yml tests: - text: '' testString: 'assert(typeof hailstoneSequence === "function", "hailstoneSequence is a function.");' - text: '' testString: 'assert.deepEqual(hailstoneSequence(), res, "hailstoneSequence() should return [[27,82,41,124,8,4,2,1], [351, 77031]]");' ```
## Challenge Seed
```js // noprotect function hailstoneSequence () { const res = []; // Good luck! return res; } ```
### After Test
```js console.info('after the test'); ```
## Solution
```js // solution required ```