Ad
  • Default User Avatar

    Can someone pls tell me how is it possible for [2, 3, 1].indexOf(2) to return 1 instead of 0 ? If I write this into the browser it returns 0 but when I do this on this kata, this gives me 1.(I use js)