es-shims / es-shims/Array.prototype.toSorted

Assertion failed: `SortCompare` must be an abstract closure taking 2 arguments

Open
#4 10 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
10
Forks
1
PR merge metrics
No merged PRs in 30d

Description

When using this shim, an assertion seems to be thrown in `SortIndexedProperties`.

> Assertion failed: `SortCompare` must be an abstract closure taking 2 arguments

It seems to do this in Chrome 90 and Safari 15.
I've only imported this shim and imported the /auto variant. If I can provide any additional information, please let me know.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.