Frage im Vorstellungsgespräch bei JSI Telecom

simple Java script question consists switch case and write output