@KittyKora (Senkora) posted a new topic, subject "Problem with Multiple Identical Options in Switch Statements". It read:

   **Tell us what's happening:**
    
    Seems like I did everything okay but, it doesn't pass  
    It goes wrong after the 3rd line maybe i did't break it properly?
    
    **Your code so far**
    [code] 
        function sequentialSizes(val) {
        var answer = "";
        // Only change code below this line
        switch (val){
        case 1:
        case 2:
        case 3:
        answer = "Low";
        break;
        case 4:
        case 5:
        case 6:
        result = "Mid";
        break;
        case 7:
        case 8:
        case 9:
        result = "High";
        break;
        }
        
        
        // Only change code above this line
        return answer;
        }
        
        sequentialSizes(1);
        
        
    [/code]
    
    **Your browser information:**
    
    User Agent is: `Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/(563)829-2455 Safari/537.36`.
    
    **Challenge:** Multiple Identical Options in Switch Statements
    
    **Link to the challenge:**  
    freecodecamp.org
    
    ### freeCodeCamp.org
    
    Learn to code. Build projects. Earn certifications.Since 2015, 40,000 graduates have gotten jobs at tech companies including Google, Apple, Amazon, and Microsoft.

Then @sanity (or not) said

    Take a closer look at the specific output your function gives, when answer is different fro the expected, it should clear things up. i.e. `console.log(sequentialSizes(5));`

After which, @KittyKora (Senkora) added

    It tells me it get's wrong after  
    sequentialSizes(3  
    but not why

Then @sanity (or not) said

    Without pressing “Run the Tests” button add  
    `console.log(sequentialSizes(5));`  
    at the end of your code, you will get more insight what is wrong.

So @ilenia (Ilenia) replied

    KittyKora:
    
    > result = “Mid”;
    
    where did you define `result`?

After which, @ilenia (Ilenia) added

    


{'source': 'discourse', 'url': 'https://forum.freecodecamp.org/t/problem-with-multiple-identical-options-in-switch-statements/363219', 'title': 'Problem with Multiple Identical Options in Switch Statements', 'views': 299, 'has_accepted_answer': True, 'word_count': 226, 'like_count': 2, 'reply_count': 1, 'participant_count': 3, 'posts': 6, 'tags': '', 'author': '@KittyKora (Senkora)', 'participants': '@KittyKora (Senkora), @sanity (or not), @ilenia (Ilenia)', 'image_url': [None], 'created_at': '2020-03-25T08:56:14.950Z', 'last_posted_at': '2021-06-01T13:00:31.682Z'}