Y
Hacker News
new
|
ask
|
show
|
jobs
by
sixbrx
3503 days ago
Ditch the returns and semicolons in the latter, then if is your ternary op, just more readable in cases where a and b are expressions more complex than in this example.