Switch Statement Not Working In Javascript Stack Overflow

Switch Statement Not Working In Javascript Stack Overflow