javascript sleep 함수
2011. 9. 26. 08:35ㆍ99. 정리전 - IT/12. Javascript
<script type="text/javascript">
function sleep(msecs)
{
var start = new Date().getTime();
var cur = start;
while (cur - start < msecs)
{
cur = new Date().getTime();
}
}
</script>