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

Improve documentation for slice 0 -1 #1144

Closed
wants to merge 1 commit into from
Closed

Improve documentation for slice 0 -1 #1144

wants to merge 1 commit into from

Conversation

ad-si
Copy link

@ad-si ad-si commented Jan 13, 2024

pop() in JavaScript returns the popped of element and not the shortened array. Clarify that slice 0 -1 actually returns the array without the last element.

`pop()` in JavaScript returns the popped of element and not the shortened array. Clarify that `slice 0 -1` actually returns the array without the last element.
Copy link

Thanks for suggesting these code changes. To set expectations:

  • Pull requests are reviewed in batches, so it can take some time to get a response.
  • Smaller pull requests are easier to review. To fix nine typos, nine specific issues will always go faster than one big one. Learn why here.
  • Reviewers may not know as much as you about certain situations, so add links to supporting evidence for important claims, especially regarding standards for CSS, HTTP, URI, etc.

Finally, please be patient with the core team. They are trying their best with limited resources.

@ad-si ad-si closed this by deleting the head repository Mar 24, 2024
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

Successfully merging this pull request may close these issues.

1 participant