marijnh / Eloquent-JavaScript

The sources for the Eloquent JavaScript book
https://eloquentjavascript.net
2.99k stars 790 forks source link

Fix grammatical error in Chapter 20 under 'Modules' section #587

Closed hkiame closed 4 days ago

hkiame commented 4 days ago

Description: I found and fixed a grammatical error in Chapter 20 titled "Node.js" under the subtitle "Modules." The sentence "It’s common to install such libraries is by using NPM, which we’ll return to in a moment." was incorrect due to the misplaced word "is". I corrected it to "It’s common to install such libraries using NPM, which we’ll return to in a moment."

Steps to Reproduce:

  1. Go to Chapter 20 titled "Node.js".
  2. Locate the section/subtitle "Modules".
  3. Find the sentence: "It’s common to install such libraries is by using NPM, which we’ll return to in a moment."
  4. Notice the grammatical error.

Suggested Correction: The sentence was corrected to:

This change improves the grammatical structure and readability of the sentence.

Pull Request: I have created this pull request to fix the issue.

marijnh commented 4 days ago

Thanks!