What will be the output of the following code snippet?
let characterCount = ('Hello World'.split('o').length - 1);
console.log(characterCount);
What will be the output of the following code snippet?
let characterCount = ('Hello World'.split('o').length - 1);
console.log(characterCount);