function foo(bar) {
    console.log(1);
  
    switch (bar) {
        case 1:
            break;
        case 2:
            break;
    }
}
