up
This commit is contained in:
parent
79b7fa7a67
commit
139711d8f3
134 changed files with 767 additions and 836 deletions
|
@ -0,0 +1,8 @@
|
|||
function pow(x, n) {
|
||||
if (n == 1) {
|
||||
return x;
|
||||
}
|
||||
|
||||
var result = x * pow(x, n - 1);
|
||||
return result;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue