Posts by Jonatas • 1 point
1 post
-
0
votes1
answer125
viewsQ: Declaring variable with Let
In the following code, why is not returned João while trying this.pessoa? Where the let was declared should go global, or not? let pessoa = 'João' console.log(this.pessoa) //undefined…