if (n < 0) alert(`Power ${n} is not supported`);