Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Normative:
Array.prototype.sort
: comparefn must be fn or undefined
This requires implementations throw a `TypeError` when the compare function is neither undefined nor a function, which is currently vaguely implied but not explicitly required. This reflects web reality in that every engine except v8 already throws in this case.
- Loading branch information