This commit is contained in:
Ilya Kantor 2019-08-21 19:10:18 +03:00
parent ef06f59b75
commit 8f75cf1f17
3 changed files with 2 additions and 2 deletions

View file

@ -26,7 +26,7 @@ let n = prompt("n?", "");
if (n < 0) {
alert(`Power ${n} is not supported,
please enter an integer number, greater than 0`);
please enter a non-negative integer number`);
} else {
alert( pow(x, n) );
}

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 117 KiB

After

Width:  |  Height:  |  Size: 133 KiB

Before After
Before After