Re:Using the switch(true) pattern in JavaScript
by eh9 on Monday April 12, 2021 @03:54PM
(#26784326)
I would usually agree, but the suggested code would allow for multiple errors to be shown before they’re thrown.
[ Parent
| on HN ]
There are no comments on this comment yet.