generate new test that did already exist & update all module snippets with declaration
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
module.exports = (end, power = 2, start = 1) =>
|
||||
module.exports = sumPower = (end, power = 2, start = 1) =>
|
||||
Array(end + 1 - start)
|
||||
.fill(0)
|
||||
.map((x, i) => (i + start) ** power)
|
||||
|
||||
Reference in New Issue
Block a user