javascript-tutorial / javascript-tutorial/en.javascript.info

Make Minor Improvement to Grammar on Nullish coalescing operator '??' Lesson

Open
#3,345 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
25.5k
Forks
4k
PR merge metrics
No merged PRs in 30d

Description

In the lesson titled Nullish coalescing operator '??', in the Comparison with II section, located here, there is a minor mistake in the grammar.

"Historically, the OR || operator was there first. It exists since the beginning of JavaScript, so developers were using it for such purposes for a long time."

Should become something like

"Historically, the OR || operator was there first. It's existed since the beginning of JavaScript, so developers were using it for such purposes for a long time."

or

"Historically, the OR || operator was there first. It's been there since the beginning of JavaScript, so developers were using it for such purposes for a long time."

Thank you for these excellent lessons. This is my first attempt to contribute something to a project via Github, I hope it's formatted properly.

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.

Research direction

Open the Nullish coalescing operator '??' lesson and go to the Comparison with || section linked in the issue. Review the sentence beginning “Historically, the OR || operator was there first,” choose a grammatically correct replacement, and confirm the lesson displays the revised wording.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.