There was an error while loading. Please reload this page.
2 parents 32e5be2 + 8dfe164 commit 2bfdde2Copy full SHA for 2bfdde2
1 file changed
1-js/03-code-quality/05-testing-mocha/article.md
@@ -361,9 +361,11 @@ function pow(x, n) {
361
*/!*
362
363
let result = 1;
364
+
365
for (let i = 0; i < n; i++) {
366
result *= x;
367
}
368
369
return result;
370
371
```
0 commit comments