Find the position

Report a typo

What will be the output of the following code?

let myString = 'HelLO, woRlD!';
let result;
result = myString.indexOf('o');
console.log(result);
Enter a number
___

Create a free account to access the full topic