Y
Hacker News
new
|
ask
|
show
|
jobs
by
oefrha
2266 days ago
Except JavaScript switch has fallthrough, so it doesn’t make that clear at all. (Sure, no fallthrough happens with return in each case, but neither would a bunch of plain if ... return.)