const beasts = ['ant', 'bison', 'camel', 'duck', 'bison']; beasts.indexOf('bison'); //ouput: 1 // start from index 2 beasts.indexOf('bison', 2); //output: 4 beasts.indexOf('giraffe'); //output: -1