Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

37 lines (36 sloc) 0.609 kb
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<style type="text/css">
* {
margin:0;
padding:0;
}
body {
position:relative;
}
#wrapper {
margin: 30px auto;
width:980px;
vertical-align: middle;
}
</style>
</head>
<body>
<div id="wrapper">
<ul id="result"></ul>
</div>
</body>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script type='text/javascript'>
$(function() {
var foo = function bar(no, max) {
$('#result').append('<li>'+no+'</li>')
if (no < max) bar(++no, max);
return;
}
foo(1, 100);
});
</script>
</html>
Jump to Line
Something went wrong with that request. Please try again.