const list = [12, 5, 80, 34, 5];
const index = list.indexOf(5);
alert("The value " + list[index] + " is at index " + index);