Switch Case Google Script

switch (email)  {
        case "basdf":
            email = "[email protected]";
            break;
        case "dfdsa":
            email = "[email protected]";
            break;
        default:
            email = "[email protected]";
            break;
    }
Bright Barracuda