Here are some comparisons of doing the same thing with vanilla JavaScript and with fswitch. Sometimes you just want to switch over a value and handle a couple different cases without returning a value ...