es-shims / Array.prototype.toSorted

An ESnext spec-compliant `Array.prototype.toSorted` shim/polyfill/replacement that works as far down as ES3.
MIT License
9 stars 1 forks source link

Fix out-dated step number #3

Closed hg-pyun closed 3 months ago

hg-pyun commented 3 months ago

The steps noted in the comments in the implementation.js file of the Array.prototype.toSorted repository do not match the numbering in the specification document.

To re-number the steps from 5 to 9 in the implementation.js file and appropriately merge the missing numbers, you will need to adjust the comments in the code to reflect the new numbering.

ljharb commented 3 months ago

Indeed, thanks.