Skip to content

Commit

Permalink
Add core-js implementation (tc39#59)
Browse files Browse the repository at this point in the history
* add `core-js` implementation
  • Loading branch information
zloirock authored Apr 3, 2022
1 parent f7442c7 commit fde312d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,9 @@ Provides additional methods on `Array.prototype` and `TypedArray.prototype` to e
This proposal is currently at [Stage 3].

- [Candidate spec text][spec]
- [Candidate polyfill][poly]

[Stage 3]: https://github.com/tc39/proposals#stage-3
[spec]: https://tc39.es/proposal-change-array-by-copy/
[poly]: ./polyfill.js


## Champions

Expand Down Expand Up @@ -43,7 +40,7 @@ They will also be added to TypedArrays:
- `TypedArray.prototype.toSpliced(start, deleteCount, ...items) -> TypedArray`
- `TypedArray.prototype.with(index, value) -> TypedArray`

These methods will then be avaliable on subclasses of `TypedArray`. i.e. the following:
These methods will then be available on subclasses of `TypedArray`. i.e. the following:

- `Int8Array`
- `Uint8Array`
Expand Down Expand Up @@ -90,8 +87,13 @@ If web compatibility prescribes it, property names defined in this proposal are

## Implementations

- [core-js](https://github.com/zloirock/core-js)
- [change-array-by-copy](https://github.com/zloirock/core-js#change-array-by-copy)

- [es-shims](https://github.com/es-shims):
- [`array.prototype.tosorted`](https://www.npmjs.com/package/array.prototype.tosorted)
- [`array.prototype.toreversed`](https://www.npmjs.com/package/array.prototype.toreversed)
- [`array.prototype.tospliced`](https://www.npmjs.com/package/array.prototype.tospliced)
- [`array.prototype.with`](https://www.npmjs.com/package/array.prototype.with)

- [./polyfill.js](./polyfill.js) (minimalist reference implementation)

0 comments on commit fde312d

Please sign in to comment.