Re:Using the switch(true) pattern in JavaScript
by dfee on Monday April 12, 2021 @11:25AM
(#26780410)
This will prevent the JR dev from making that mistake: https://eslint.org/docs/rules/no-fallthrough
[ Parent
| on HN ]
There are no comments on this comment yet.