Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Normative:
(Typed)?Array.prototype.sort
: comparefn must be fn or un…
…defined (#785) * 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. * Normative: `TypedArray.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.
- Loading branch information