Re:Using the switch(true) pattern in JavaScript
by darepublic on Monday April 12, 2021 @08:23PM
(#26786779)
switch true is not a substitute for early return it is a replacement for the equivalent written in if chain
[ Parent
| on HN ]
There are no comments on this comment yet.