Y
Hacker News
new
|
ask
|
show
|
jobs
by
dtech
3145 days ago
Javascript already has a conditional expression, the ternary operator: `condition ? expr-if-true : expr-if-false`.
1 comments
hajile
3144 days ago
It doesn't have code blocks (aside from self-executing lambdas) and is very hard to reason about when nested.
link