Correct formatting
This commit is contained in:
parent
2a0516d174
commit
8dfe1644d8
1 changed files with 2 additions and 0 deletions
|
@ -361,9 +361,11 @@ function pow(x, n) {
|
|||
*/!*
|
||||
|
||||
let result = 1;
|
||||
|
||||
for (let i = 0; i < n; i++) {
|
||||
result *= x;
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue