blob: 9284edf80b5cd7abcc7df76a6b51a7b386c9ec34 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript">
i = 0;
timeout_handle = window.setTimeout(timeoutCallback, 500);
inteval_handle = window.setInterval(intervalCallback, 500);
function timeoutCallback() {
console.log("Timeout!");
}
function intervalCallback() {
i = i + 1;
console.log("Interval #" + i + "!");
}
</script>
</head>
<body>
</body>
</html>