RFC: add functional equivalent of Array.prototype.copyWithin
#203
Labels
difficulty: 3
Likely to be challenging but manageable.
Feature
Issue or pull request for adding a new feature.
Help Wanted
Extra attention is needed.
RFC
Request for comments. Feature requests and proposed changes.
Utilities
Issue or pull request concerning general utilities.
Checklist
RFC:
.Description
This RFC proposes to add a "functional" equivalent of
Array.prototype.copyWithin
andTypedArray.prototype.copyWithin
.Package:
@stdlib/utils/copy-within
Alias:
copyWithin
The interface would be as follows:
If a provided
collection
has a built-incopyWithin
method, the implementation would defer to that method. Otherwise, the implementation would provide a "polyfill", thus extendingcopyWithin
support to environments lacking the built-in API forArray
andTypedArray
.Related Issues
No.
Questions
No.
Other
No.
The text was updated successfully, but these errors were encountered: