Thanks to visit codestin.com
Credit goes to bennadel.github.io
Switch Cases Do Not Have To Be Static In JavaScript