console.log("Before: ", greeting);
const greeting = "hola";
console.log("After: ", greeting);
ReferenceError: Cannot access 'greeting' before initialization
greeting = "hello";
console.log("Before: ", greeting);
const greeting = "hola";
console.log("After: ", greeting);
ReferenceError: Cannot access 'greeting' before initialization