--- title: Iterated digits squaring id: 5a23c84252665b21eecc7ec1 challengeType: 5 videoUrl: '' localeTitle: '' --- ## Description undefined ## Instructions undefined ## Tests
```yml tests: - text: '' testString: 'assert(typeof iteratedSquare=="function","iteratedSquare should be a function.");' - text: '' testString: 'assert(typeof iteratedSquare(4)=="number","iteratedSquare(4) should return a number.");' - text: '' testString: 'assert.equal(iteratedSquare(4),89,"iteratedSquare(4) should return 89.");' - text: '' testString: 'assert.equal(iteratedSquare(7),1,"iteratedSquare(7) should return 1.");' - text: '' testString: 'assert.equal(iteratedSquare(15),89,"iteratedSquare(15) should return 89.");' - text: '' testString: 'assert.equal(iteratedSquare(20),89,"iteratedSquare(20) should return 89.");' - text: '' testString: 'assert.equal(iteratedSquare(70),1,"iteratedSquare(70) should return 1.");' - text: '' testString: 'assert.equal(iteratedSquare(100),1,"iteratedSquare(100) should return 1.");' ```
## Challenge Seed
```js function iteratedSquare (n) { // Good luck! } ```
## Solution
```js // solution required ```