fixes
This commit is contained in:
parent
ef06f59b75
commit
8f75cf1f17
3 changed files with 2 additions and 2 deletions
|
@ -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 |
Loading…
Add table
Add a link
Reference in a new issue