What is the result of the following code?
let y = "Hello";
if (y === "hello") {
y = "Goodbye";
} else {
y = "Greetings";
}
console.log(y);
What is the result of the following code?
let y = "Hello";
if (y === "hello") {
y = "Goodbye";
} else {
y = "Greetings";
}
console.log(y);