n by:
n is 1 then the sequence endsn is even then the next n of the sequence = n/2n is odd then the next n of the sequence = (3 * n) + 127, 82, 41, 124 and ending with 8, 4, 2, 1hailstoneSequence is a function.
testString: assert(typeof hailstoneSequence === 'function', 'hailstoneSequence is a function.');
- text: hailstoneSequence() should return [[27,82,41,124,8,4,2,1], [351, 77031]]
testString: assert.deepEqual(hailstoneSequence(), res, 'hailstoneSequence() should return [[27,82,41,124,8,4,2,1], [351, 77031]]');
```