Skip to content

Support change-array-by-copy tc39 proposal #50333

Description

Suggestion

Support https://github.com/tc39/proposal-change-array-by-copy (stage 3 proposal).

Adding

    Array.prototype.toReversed() -> Array
    Array.prototype.toSorted(compareFn) -> Array
    Array.prototype.toSpliced(start, deleteCount, ...items) -> Array
    Array.prototype.with(index, value) -> Array


    TypedArray.prototype.toReversed() -> TypedArray
    TypedArray.prototype.toSorted(compareFn) -> TypedArray
    TypedArray.prototype.with(index, value) -> TypedArray

Activity

  1. robpalme commented on Jan 31, 2023

    @robpalme

    This proposal went to Stage 4 yesterday. It looks like there's already a PR in progress. Please say if further help is needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    CommittedThe team has roadmapped this issueDomain: lib.d.tsThe issue relates to the different libraries shipped with TypeScriptHelp WantedYou can do thisSuggestionAn idea for TypeScript

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions