docs
docs copied to clipboard
Add entry for JavaScript Array.prototype.entries()
Description
Hi! I commented on the issue asking to work on this but haven’t been assigned yet.
Since I’ve already completed the entry following the contribution guidelines, I’m opening this PR in advance.
This PR adds a new entry for Array.prototype.entries() under:
content/javascript/concepts/arrays/terms/entries/entries.md The entry includes:
- A clear description of the method
- A syntax section with usage format
- A real-world example using an array of my cats' names
- A
codebyteblock with a simple, compilable example - A brief notes section and related references
Issue Solved
Closes #7090
Type of Change
- Adding a new entry
Checklist
- [X] All writings are my own.
- [X] My entry follows the Codecademy Docs style guide.
- [X] My changes generate no new warnings.
- [X] I have performed a self-review of my own writing and code.
- [X] I have checked my entry and corrected any misspellings.
- [X] I have made corresponding changes to the documentation if needed.
- [X] I have confirmed my changes are not being pushed from my forked
mainbranch. - [X] I have confirmed that I'm pushing from a new branch named after the changes I'm making.
- [X] I have linked any issues that are relevant to this PR in the
Issues Solvedsection.