netsurf/test/js/core.recursion.html
2013-05-22 19:12:26 +01:00

22 lines
365 B
HTML

<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>