Hacker News new | past | comments | ask | show | jobs | submit login

I'd probably go for 4 if() checks, some 'less than'/'greater than'/'&&' checks should do it.



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

Search: