Skip to content

Docs: clarify usage of const,let and var in JavaScript variables#869

Open
vishwa-radhya wants to merge 1 commit intoronreiter:masterfrom
vishwa-radhya:fix-issue-864
Open

Docs: clarify usage of const,let and var in JavaScript variables#869
vishwa-radhya wants to merge 1 commit intoronreiter:masterfrom
vishwa-radhya:fix-issue-864

Conversation

@vishwa-radhya
Copy link

Summary

Added a clarification about the use of const, let, and var in JavaScript.

The existing content mentions var but uses const in examples, which may confuse beginners.

Changes

  • Added a short note explaining:
    • Difference between var, let, and const
    • Why const is preferred in modern JavaScript

Related to #864

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant