https://wikimass.com/js/switch-case