¿Qué valor se obtiene al ejecutar el siguiente código?
const arr = ['a', 'b', 'c']; console.log(arr.indexOf('b'));
0
1
2
-1