WebSurf/test/js/core.recursion.html

23 lines
416 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>
<noscript><p>Javascript is disabled</p></noscript>
<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>