en.javascript.info
en.javascript.info copied to clipboard
Add new toSorted, toSpliced and toReversed methods to "Array methods" article
This pull request introduces additional notes to the documentation of Array methods. The aim is to inform readers about new methods that perform similar operations to splice
, sort
, and reverse
, but do not mutate the original array. These methods are toSpliced
, toSorted
, and toReversed
.
yeah lets get this updated. Also worth mentioning the .with()
Array method aswell. Also some of the tasks like "copy and sort" in this section need to be updated to include the new apis.
Also worth mentioning the
.with()
Array method aswell. Also some of the tasks like "copy and sort" in this section need to be updated to include the new apis.
Would you be interested in opening a PR for this after this one gets merged (will be soon)? 🙂
Also worth mentioning the
.with()
Array method aswell. Also some of the tasks like "copy and sort" in this section need to be updated to include the new apis.Would you be interested in opening a PR for this after this one gets merged (will be soon)? 🙂
Sounds good. Once merged, I'll work on the PR to get the other methods in and adjust the tasks as well. Will keep an eye out.