const ola = 'ola mundo';
(()=> {
 alert(ola);
 var ola;
})()

Depois fala sobre hoisting e temporal deadzone.