Re:Using the switch(true) pattern in JavaScript
by jhgb on Monday April 12, 2021 @08:18PM
(#26786740)
Well, the way it was written, I was assuming that conditions to be satisfied had separate named predicates (although combinators could alleviate even some of these things).
[ Parent
| on HN ]
There are no comments on this comment yet.