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

  lhs && rhs
  lhs || rhs
  lhs , rhs
Given the way js evaluates these, the comma operator seems like it should fit in nicely. I would have made this the first argument in my case for using the comma.


Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

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

Search: