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

Do cases fall through? Do I need to have them sequential? Can I put additional conditions on it? What if I have a case multiple times?

There is a surprising amount of complexity behind switch/case.



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

Search: