Improved the switch/case; now it can take either an expression or an object (which will be passed to switch/when)