So i have some simple javascript code and i want to check if the input of the user is equal to any of the items in the "options" array, i tried this method but it isn't working, does anyone know why/another way to do this?
var options = ["fris", "bier", "wijn"];
var bestelling_opgenomen = false;
var bestelling = prompt("Welke bestelling wilt u toevoegen?");
if(options.includes(bestelling) == bestelling){
var hoeveelheid = prompt(`hoeveel ${bestelling} wilt u bestellen?`);
}else{
alert("kurk");
}