proposal-change-array-by-copy icon indicating copy to clipboard operation
proposal-change-array-by-copy copied to clipboard

Provides additional methods on Array.prototype and TypedArray.prototype to enable changes on the array by returning a new copy of it with the change.

Results 9 proposal-change-array-by-copy issues
Sort by recently updated
recently updated
newest added

CompareTypedArrayElements still contains the detached buffer check which has been removed in .

spec

Sorry it's too late to add this issue, I commented that on the yesterday meeting. Though I didn't want to block this proposal in the meeting, I think we still...

## Description I'm sorry if understood the proposal wrong or didn't research it well enough but why it's better to have `toReversed()`, `toSorted()` along with `reverse()`, `sort()`? (I can agree...

Issue to track Stage 3 reviewers feedback Spec: https://tc39.es/proposal-change-array-by-copy/ Reviewers: - [x] @ljharb - [x] @jridgewell - [x] @chicoxyzzy - [x] @nicolo-ribaudo Editors: - [ ] @bakkot - [ ]...

spec

An issue to collect discussions/results around researching existing code to extract data that may help with the design/scope of this proposal. # Array Method Usage Using the [GitHub dataset on...

research

Ensuring that no clashes exists between the web reality and this proposal is an essential precondition to Stage 3. This will require research work with implementers.

research

I can (with great regret) live with the fact that `toSorted()` eliminates empty slots (although I think symmetry with functionally similar APIs is much more charitable than symmetry by the...

What is the reason by the name `toSpliced()` and not something like `removeValues()` or `replaceValues()`? And why `with()` and not something like `replaceValue()`?

question