Using the Switch(true) Pattern in JavaScript Loving that approach. It definitely simplifies if-else spaghetti codeweeklyfoo #22 / 2024-03-04 Open switchjavascript