Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
SoftwareMaven
on Sept 30, 2011
|
parent
|
context
|
favorite
| on:
The JavaScript Comma Operator
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: