Closed
Description
Description
This RFC proposes adding the package @stdlib/array/base/join
.
The package should have a structure similar to @stdlib/array/base/slice
and should similarly check for the existence of a join
method. If not present, the function should manually construct the output string and similarly treat null
and undefined
as an empty string (see MDN).
function join( x, separator ) {...}
The separator
argument should be required.
Package: @stdlib/array/base/join
Alias: join
.
Related Issues
None.
Questions
No.
Other
No.
Checklist
- I have read and understood the Code of Conduct.
- Searched for existing issues and pull requests.
- The issue name begins with
RFC:
.
Metadata
Metadata
Assignees
Labels
RFC feature request which has been accepted.Issue or pull request for adding a new feature.A good first issue for new contributors!Issue involves or relates to JavaScript.Request for comments. Feature requests and proposed changes.Issue or pull request concerning general utilities.May require some initial design or R&D, but should be straightforward to resolve and/or implement.Low priority concern or feature request.