set a boolean variable to true and another ones to false in javascript?

I want to know if there is way I can simplify this code:

        switch(visibleMenu) {
            case "menu": {
                mainMenu = true;
                assignment = false;
                temary = false;
                break;
            }
            case "asignment": {
                mainMenu = false;
                assignment = true;
                temary = false;
                break;
            }
            case "temary": {
                mainMenu = false;
                assignment = false;
                temary = true;
            }
        }

I don’t like to repeat so many times each word. Ideas?

Answer

It seems this will do it:

 mainMenu = visibleMenu === 'menu';
 assignment = visibleMenu === 'asignment';
 temary = visibleMenu === 'temary';

There is no need for a switch statement