Update the var keyword in README to const

Open Beginner friendly
#993 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
62/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Stale
Tech stack
javascript
Domain
documentation

Research direction

Start by searching the README for the var keyword and review the surrounding example to confirm that const is valid there. Done means the README uses const instead of var for this example and its JavaScript guidance reflects the requested modern standard.

Written by the indexing model from the issue text.

Description

future

Since the var keyword is considered outdated and less preferable compared to let and const. I think it would be beneficial if we updated the var keyword to const in the README. This change will align with the modern JS standards and will ensure that developers following the README are using the modern JavaScript coding standard.

Dominant language
JavaScript
Stars
6.4k
Forks
1k
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

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 expressjs/session

All issues in expressjs/session

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.