網摘Using the Switch(true) Pattern in JavaScript – Seán Barryseanbarry.dev↗ Using the Switch(true) Pattern in JavaScript – Seán Barry https://seanbarry.dev/posts/switch-true-pattern