es-shims

es-shims/array.prototype.tosorted

An ESnext spec-compliant `Array.prototype.toSorted` shim/polyfill/replacement that works as far down as ES3.

JavaScript
10
1
MIT License

This project provides an ESnext-compliant `Array.prototype.toSorted` shim/polyfill that works in ES3 environments and follows the proposed specification. It allows developers to use the `toSorted` method for sorting arrays without mutating the original, with support for both direct function calls and shimming the native Array prototype. The package is designed for developers needing consistent array sorting functionality across different JavaScript environments, particularly when working with older browsers or Node.js versions that don't support the native `toSorted` method.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies

Support the repos that depend on this repository

Top contributors

ljharb's profile
ljharb
35 contributions
terrablue's profile
terrablue
1 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet