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;
|
let result = 1;
|
||||||
|
|
||||||
for (let i = 0; i < n; i++) {
|
for (let i = 0; i < n; i++) {
|
||||||
result *= x;
|
result *= x;
|
||||||
}
|
}
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue