GolfCode challenge code so far

I have written the code from top(highest value) to bottom(lowest value)

var names = [“Hole-in-one!”, “Eagle”, “Birdie”, “Par”, “Bogey”, “Double Bogey”, “Go Home!”];
function golfScore(par, strokes) {
// Only change code below this line
if(strokes >= par+3){
return names[6];
}
else if(strokes = par+2){
return names[5];
}
else if(strokes = par+1){
return names[4];
}
else if(strokes = par){
return names[3];
}
else if(strokes = par-1){
return names[2];
}
else if(strokes <= par-2){
return names[1];
}
else if(strokes = 1){
return names[0];
}
return “Change Me”;
// Only change code above this line
}

// Change these values to test
console.log(golfScore(5, 9));

= this is an assignment operator
If you write strokes = par you are assigning the value of par to strokes, you are not comparing the two values

Thanks for the reply and it worked ,we have to check whether the strokes are equal to the par