0
Difference between VAR and LET
I'm confused about when use var and when use let, what's the difference?
3 Respostas
+ 13
https://www.tutorialspoint.com/difference-between-var-and-let-in-javascript#:~:text=The%20main%20difference%20between%20let,globally%20regardless%20of%20block%20scope.
+ 10
Bruno Ricardo CorrĂȘa welcome to Sololearn!
next time, try using the search bar before posting any questions.
Thanks
https://www.sololearn.com/discuss/840637/?ref=app
https://www.sololearn.com/discuss/2150529/?ref=app
https://www.sololearn.com/discuss/1666973/?ref=app
https://www.sololearn.com/discuss/1440112/?ref=app
https://www.sololearn.com/discuss/1126539/?ref=app
https://www.sololearn.com/discuss/1645109/?ref=app
+ 2
See the appropriate lesson in js course