You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow undefined in TypedArray.prototype.sort(comparefn) (#6842)
According to the spec, TypedArray.prototype.sort(comparefn) should allow comparefn to be undefined.
In this case .sort(undefined) should be equivalent to .sort().
See https://tc39.es/ecma262/#sec-%typedarray%.prototype.sort
Before it threw a TypeError.
Fix#6503
0 commit comments