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

I would strictly call that an "if expression" rather than an "if statement". It is equivalent to ?:, even though it is also a bit more verbose.


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

Search: