exponent
?
powerDigitSum(15)
should return 26.
testString: assert.strictEqual(powerDigitSum(15), 26, 'powerDigitSum(15)
should return 26.');
- text: powerDigitSum(128)
should return 166.
testString: assert.strictEqual(powerDigitSum(128), 166, 'powerDigitSum(128)
should return 166.');
- text: powerDigitSum(1000)
should return 1366.
testString: assert.strictEqual(powerDigitSum(1000), 1366, 'powerDigitSum(1000)
should return 1366.');
```