This commit is contained in:
Ilya Kantor 2016-07-21 17:05:55 +03:00
parent 1bffa43db4
commit 057783d216
373 changed files with 203 additions and 190 deletions

View file

@ -1,22 +0,0 @@
<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<script src="pow.js"></script>
Пример для отладчика.
<script>
var fiveInCube = pow(5, 3);
alert(fiveInCube);
</script>
</body>
</html>

View file

@ -1,8 +0,0 @@
function pow(x, n) {
if (n == 1) {
return x;
}
var result = x * pow(x, n - 1);
return result;
}