Why does indexOf output like this?
var num = [26, 16, 41, 32, 16, 28, 16, 41];         console.log(num.indexOf(41));// 2         console...
Tags: indexof, javascript, method, array