Re:Using the switch(true) pattern in JavaScript
by wvenable on Monday April 12, 2021 @06:30PM
(#26785995)
No, I just mean the actual tests might be something like:
You're not usually just passing a single value to a bunch of "test" functions.
[ Parent
| on HN ]