Sign in
Log inSign up
Yousaf Khan

416 reads

2 comments

Samandar Boymurodov
Samandar Boymurodov
May 7, 2021

A Great Explanation Yousaf Khan.

I read your answer to my question on Linkedin where you shared a link to this article. I found this article very useful.

I've understood that var has a function scope which is available all over the function whereas let has a block scope created unieqely for each iteration.

2
·
·1 reply
Yousaf Khan
Yousaf Khan
Author
·May 8, 2021

Glad to know that you found this article useful. Thank you for the positive feedback!

·