Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Replace var with let in javascript tutorials

Open
#443 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript
Domain
documentation

Research direction

Review the JavaScript tutorials to identify examples currently using var and determine the scope of the proposed documentation update. Check the linked browser-support reference and existing tutorial conventions first. Done means the relevant tutorials consistently use let and the updated documentation remains accurate for learners.

Written by the indexing model from the issue text.

Description

I was wondering if there was appetite for changing the tutorials to use let instead of var? It behaves more like other programming languages people may be coming from and is now supported by all major browsers as per https://caniuse.com/#search=let with 90% full support in browsers and 94.5% including partial support.

Let me know if this would be appreciated and if so I'm happy to update the docs and raise the PR

Dominant language
JavaScript
Stars
268
Forks
240
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from codebar/tutorials

All issues in codebar/tutorials

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.