Klay3 anos atrás3 anos atrásconst ola = 'ola mundo'; (()=> { alert(ola); var ola; })() Depois fala sobre hoisting e temporal deadzone.