What will be the output of the console.log statement in the following code snippet?
let name = 'Sam';
console.log(`Name: ${name.charAt(0).toUpperCase() + name.slice(1).toLowerCase()}`);
What will be the output of the console.log statement in the following code snippet?
let name = 'Sam';
console.log(`Name: ${name.charAt(0).toUpperCase() + name.slice(1).toLowerCase()}`);