From 45ce771ea8ff6c6316ff087fff0298aa89d3841e Mon Sep 17 00:00:00 2001 From: Mike Gowen Date: Sat, 21 Apr 2018 22:22:50 -0700 Subject: [PATCH] Fix error in pow task solution --- 1-js/02-first-steps/14-function-basics/4-pow/solution.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/02-first-steps/14-function-basics/4-pow/solution.md b/1-js/02-first-steps/14-function-basics/4-pow/solution.md index 79eb2b44..5ef20c38 100644 --- a/1-js/02-first-steps/14-function-basics/4-pow/solution.md +++ b/1-js/02-first-steps/14-function-basics/4-pow/solution.md @@ -13,7 +13,7 @@ function pow(x, n) { let x = prompt("x?", ''); let n = prompt("n?", ''); -if (n <= 1) { +if (n < 1) { alert(`Power ${n} is not supported, use an integer greater than 0`); } else {