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

Is seems to be a bug but it could well be a feature. Requiring that functions end with a return statement is a good thing IMO. That avoids weird bugs if later the "else" is replaced by an "else if".


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

Search: