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

Except JavaScript switch has fallthrough, so it doesn’t make that clear at all. (Sure, no fallthrough happens with return in each case, but neither would a bunch of plain if ... return.)


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

Search: