title: What is the time complexity of javascript's array.indexOf?
body: <p>Does indexOf simply walk through the array or does it do something that is faster?
  I know that this is implementation dependent but what does Chrome or Firefox do?</p>