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

Define "getter function" #2528

Closed
nielsbom opened this issue Oct 9, 2023 · 2 comments · Fixed by #2817
Closed

Define "getter function" #2528

nielsbom opened this issue Oct 9, 2023 · 2 comments · Fixed by #2817
Assignees
Labels
state: has PR Issue has a PR

Comments

@nielsbom
Copy link

nielsbom commented Oct 9, 2023

In the docs the term "getter function" seems to be an important concept but it's not defined anywhere that I've found.

Do y'all think it's an idea to define it?

@bencodezen
Copy link
Member

@nielsbom This is technically a fundamental JS concept, but I could see value in linking to docs since this is a more advanced concept for those new to JavaScript.

I'll issue a PR to help improve this.

@nielsbom
Copy link
Author

Ah, yeah I don't use those parts of JavaScript directly often. Saying something like "getter functions are a feature of JavaScript itself, see the docs" would already help.

NataliaTepluhina pushed a commit that referenced this issue May 1, 2024
#2817)

* docs (#2528): add references to help people new to getter functions in docs

* docs: update links to have more specific sections to guide users to
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state: has PR Issue has a PR
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants