--- title: GeneratorExponential id: 5a23c84252665b21eecc7e7b challengeType: 5 videoUrl: '' localeTitle: '' --- ## Description undefined ## Instructions undefined ## Tests
```yml tests: - text: '' testString: 'assert(typeof exponentialGenerator=="function","exponentialGenerator should be a function.");' - text: '' testString: 'assert(typeof exponentialGenerator(10)=="number","exponentialGenerator() should return a number.");' - text: '' testString: 'assert.equal(exponentialGenerator(10),144,"exponentialGenerator(10) should return 144.");' - text: '' testString: 'assert.equal(exponentialGenerator(12),196,"exponentialGenerator(12) should return 196.");' - text: '' testString: 'assert.equal(exponentialGenerator(14),256,"exponentialGenerator(14) should return 256.");' - text: '' testString: 'assert.equal(exponentialGenerator(20),484,"exponentialGenerator(20) should return 484.");' - text: '' testString: 'assert.equal(exponentialGenerator(25),784,"exponentialGenerator(25) should return 784.");' ```
## Challenge Seed
```js function exponentialGenerator (n) { // Good luck! } ```
## Solution
```js // solution required ```