Skip to content

Commit d8d5086

Browse files
committed
minor
1 parent d4447e3 commit d8d5086

File tree

1 file changed

+1
-1
lines changed
  • 1-js/02-first-steps/14-function-basics/4-pow

1 file changed

+1
-1
lines changed

1-js/02-first-steps/14-function-basics/4-pow/task.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Write a function `pow(x,n)` that returns `x` in power `n`. Or, in other words, m
99
```js
1010
pow(3, 2) = 3 * 3 = 9
1111
pow(3, 3) = 3 * 3 * 3 = 27
12-
pow(1, 100) = 1 * 1 * ...*1 = 1
12+
pow(1, 100) = 1 * 1 * ...* 1 = 1
1313
```
1414

1515
Create a web-page that prompts for `x` and `n`, and then shows the result of `pow(x,n)`.

0 commit comments

Comments
 (0)