How else could I write this

I know there is a better way but when I tried the OR operator it didn’t work. thanks guys.

I want those two to not do something, but

if(e.currentTarget.name == "enroll"){
						
					}else if( e.currentTarget.name == "free") {
						
					}else{
						//code goes here, because I want all the other ones to do something
					}