
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...
CTO at Bytes Robotics
Markdown supported · ⌘↵ to post
Alysha Reinard
Nicely explained. Thanks!