Using switch statement for golf game

Hello all! Like the title says I am trying to implement the switch statement on the golf game exercise in the basic js section. But I can’t seem to get the same result.
I tried creating a variable result that stores the result of the case and gets returned but that doesn’t work.
I actually don’t even know if I can do it.

var names = ["Hole-in-one!", "Eagle", "Birdie", "Par", "Bogey", "Double Bogey", "Go Home!"];
var result = names[];
function golfScore(par, strokes) {
  // Only change code below this line
  switch(names) {
    case "Hole in one!": strokes == par;
    return names[0];
    case "Eagle": strokes <= par -2;
    return names[1];
    case "Birdie":  strokes == par -1;
    return names[2];
    case "Par": strokes == par; 
    return names[3];
    case "Bogey": strokes == par +1; 
    return names[4];
    case "Double Bogey": strokes == par +2;
    return names[5];
    case "Go Home!": strokes == par +3; 
    return names[6];

  // Only change code above this line

// Change these values to test
golfScore(5, 4);

What I think I am doing wrong is passing names as an expression in my switch statement but I am far from sure.
Any tip on where I should be looking?

Remember that a switch statement is just a concise way of writing a series of if/else statements. How do your switch cases correspond to if / else logic?