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