We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Tuple.prototype.*
As part of the stage 1 Change Array by Copy we are proposing changes to Tuple.prototype.* methods:
If you do have opinions on the naming and methods available on Tuple, please go comment in those threads as we intend to centralize discussion there.
Thank you!
The text was updated successfully, but these errors were encountered:
Locked in favor of discussing in tc39/proposal-change-array-by-copy#10 and tc39/proposal-change-array-by-copy#27
Sorry, something went wrong.
As it stands, we should implement the following (non-final) naming scheme to follow tc39/proposal-change-array-by-copy#28:
Tuple.prototype.withFilled(value, start, end) -> Tuple
Tuple.prototype.withCopiedWithin(copiedTarget, start, end) -> Tuple
Tuple.prototype.withPopped() -> Tuple
Tuple.prototype.withPushed(values...) -> Tuple
Tuple.prototype.withReversed() -> Tuple
Tuple.prototype.withShifted() -> Tuple
Tuple.prototype.withSorted(compareFn) -> Tuple
Tuple.prototype.withSpliced(start, deleteCount, ...items) -> Tuple
Tuple.prototype.withUnshifted(...values) -> Tuple
Tuple.prototype.withAt(index, value) -> Tuple
We now have to take in account the following reduction of scope: tc39/proposal-change-array-by-copy#27
This will result on the following Tuple prototype:
Change array by copy went to stage 3 with an agreed scope. Tuple is going to follow this new scope. This is already in the spec text.
rricard
No branches or pull requests
As part of the stage 1 Change Array by Copy we are proposing changes to
Tuple.prototype.*
methods:Tuple.prototype.*
methods is discussed in To change: Reduction of scope proposal-change-array-by-copy#27If you do have opinions on the naming and methods available on Tuple, please go comment in those threads as we intend to centralize discussion there.
Thank you!
The text was updated successfully, but these errors were encountered: