What will be the output of the following code snippet?
let reversedString = 'hello'.split('').reverse().join('');
console.log(reversedString);
What will be the output of the following code snippet?
let reversedString = 'hello'.split('').reverse().join('');
console.log(reversedString);