Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
oefrha
on April 2, 2020
|
parent
|
context
|
favorite
| on:
How to manage HTML DOM with vanilla JavaScript onl...
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.)
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: