Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It should be setInterval(updateClock, 1000) not setInterval(updateClock(), 1000)





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: