This commit is contained in:
Ilya Kantor 2019-07-29 18:02:18 +03:00
parent 3e7640847b
commit f72405a263

View file

@ -14,7 +14,7 @@ let x = prompt("x?", '');
let n = prompt("n?", '');
if (n < 1) {
alert(`Степень ${n} не поддерживается, только целая, большая 0`);
alert(`Power ${n} is not supported, use a positive integer`);
} else {
alert( pow(x, n) );
}