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

I do this instead:

    const RESEND_DELAY_MS = 1 * 60 * 60 * 1000;  // one hour
Essentially the same, but the lack of extra variable spares one jump. Also you can change it without introducing a new variable (no dependency).


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

Search: