Is there any way to use goto in javascript

        message.channel.send("Provide color hex code")
        color:
        const rcolor = await message.channel.awaitMessages({
            time: 60000,
            max: 1,
            filter: (m) => m.author.id === message.author.id
        });
            const color = rcolor.first().content;
            if (color.match(regex) ){
            }
            else{
                message.channel.send("Provide a valid hex code")
                break color;

            }

I tried labels but i dont understand them. I want to make it so that if an invalid hexcode was provided it sends a message about it and then goes to label color