Skip to content

Commit 2a20f17

Browse files
authored
Update solution.md
1 parent c08f987 commit 2a20f17

File tree

1 file changed

+2
-2
lines changed
  • 1-js/02-first-steps/14-function-basics/4-pow

1 file changed

+2
-2
lines changed

1-js/02-first-steps/14-function-basics/4-pow/solution.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ let x = prompt("x?", '');
1414
let n = prompt("n?", '');
1515

1616
if (n < 1) {
17-
alert(`Power ${n} is not supported,
18-
use an integer greater than 0`);
17+
alert(`Expoente ${n} não é suportado,
18+
use um inteiro maior que 0`);
1919
} else {
2020
alert( pow(x, n) );
2121
}

0 commit comments

Comments
 (0)