Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
cfv
on April 2, 2020
|
parent
|
context
|
favorite
| on:
How to manage HTML DOM with vanilla JavaScript onl...
Is it not though? By exploiting the conditions to evaluate to true == $CaseValue you're subverting the expectation that the choices all rely on a single variable, all the while breaking fallthrough and default.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: