Skip to content
This repository was archived by the owner on Mar 10, 2024. It is now read-only.

Commit 1449f7f

Browse files
authored
Merge pull request #29 from zloirock/master
Add a note about `core-js` polyfilling
2 parents b9fd205 + 282504b commit 1449f7f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,9 @@ The GetLastArrayIndex function is intentionally generic; it does not require tha
8080

8181
## Polyfill
8282

83+
A polyfill is available in the [core-js](https://github.com/zloirock/core-js) library. You can find it in the [ECMAScript proposals section](https://github.com/zloirock/core-js#getting-last-item-from-array).
8384

85+
It's a polyfill with usage abstract ECMAScript operations:
8486
```js
8587
import { ToString, ToObject, ToLength } from 'es-abstract'
8688
// This polyfill tries to stick as close to the spec as possible. There are polyfills which could use less code.

0 commit comments

Comments
 (0)