Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inadequate information & grammar fix suggestion #254

Closed
kenshanta opened this issue May 16, 2024 · 1 comment
Closed

Inadequate information & grammar fix suggestion #254

kenshanta opened this issue May 16, 2024 · 1 comment

Comments

@kenshanta
Copy link

Not a major issue as the context can be understood without focusing on the semantics.

  • In the Second Topic: - Maybe its my bad habit of overthinking, but regardless wanted to ask the author for clearance on the matter - so far there are 2 possible intents from the following sentence:
    prototype on constructors function is available through Object.prototype.
  1. prototype on constructor's function is available through Object.prototype.
  2. prototype on constructor functions is available through Object.prototype.

By default the first option is invalid as its commonly advised against to define methods nested in the constructor function (unless its via the prototype obj)
So I assume the second option is the correct form. (waiting to hear back on this)

Ideally I suggest starting the section with additional information before getting to the point on how to utilize the prototype object; for example:

When you create an object using a constructor function or a class, the created object inherits properties from a prototype object.
// CURRENT SENTENCE The prototype on object instance is available....
Screenshot 2024-05-16 at 6 30 42 PM
@kenshanta kenshanta changed the title Minor spelling error in topic description Inadequate information & grammar fix suggestion May 18, 2024
@sudheerj
Copy link
Owner

@kenshanta Thanks for the details. It has been corrected.

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

No branches or pull requests

2 participants