summaryrefslogtreecommitdiff
path: root/test/js/core.recursion.html
blob: 6c2206b229b80e6268ae0edda79817777e3ae890 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<html>
<head>
<title>Infinite recursion</title>
<link rel="stylesheet" type="text/css" href="tst.css">
</head>
<body>
<h1>Infinite recursion</h1>
<p>Before</p>
<script>

function it_keeps_going_and_going_and_going(i) {

  return it_keeps_going_and_going_and_going(i+1);
}

it_keeps_going_and_going_and_going(1)
</script>
</script>
<p>Afterwards</p>
</body>
</html>