In JavaScript, let and var are often used interchangebly. However, there are some differences in how these variables are scoped. let variables are only visible in their nearest enclosing block ({ ... }), not before or after that block. let variables...

Markdown supported · ⌘↵ to post
Alysha Reinard
Python expert, learning new tech, new languages, new techniques
Nicely explained. Thanks!