Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
eh9
on April 12, 2021
|
parent
|
context
|
favorite
| on:
Using the switch(true) pattern in JavaScript
I would usually agree, but the suggested code would allow for multiple errors to be shown before they’re thrown.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: