What will be the output of the following code?
let myString = 'HelLO, woRlD!';
let result;
result = myString.indexOf('o');
console.log(result);What will be the output of the following code?
let myString = 'HelLO, woRlD!';
let result;
result = myString.indexOf('o');
console.log(result);Create a free account to access the full topic