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

An if statement has a name, it's "if".

It also has a condition and a body to execute conditionally.

    if (condition)
      body
is just a goofy way of writing

    if(condition, body)


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

Search: