Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Activity for VLAZ
| Type | On... | Excerpt | Status | Date |
|---|---|---|---|---|
| Edit | Post #282582 |
Post edited: Removed excessive whitespace to make reading the code blocks easier |
— | 9 months ago |
| Suggested Edit | Post #282582 |
Suggested edit: Removed excessive whitespace to make reading the code blocks easier (more) |
helpful | 9 months ago |
| Comment | Post #283712 |
This is a bit misleading.
Yes, `const` and `let` are block-scoped, however, in this case the block is a function. Therefore, you'd get the same result had you used a regular `var` as well.
The general topic of scopes is absolutely valid thing to explore. But this Q&A doesn't do that, it sh... (more) |
— | 9 months ago |
| Edit | Post #282894 |
Post edited: Fixed the example with the assignments - `const` variables cannot be re-assigned. Maybe MDN had an issue in the article but that's been updated on their side, as well; fixed the explanation of strict equals; minor grammar fixes; |
— | 9 months ago |
| Suggested Edit | Post #282894 |
Suggested edit: Fixed the example with the assignments - `const` variables cannot be re-assigned. Maybe MDN had an issue in the article but that's been updated on their side, as well; fixed the explanation of strict equals; minor grammar fixes; (more) |
helpful | 9 months ago |
