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
Describe the bug
Enforcing an object type comparison function in the default comparator for a BST may impact performance; it’s worth considering a design change.
The Date type within object data types is essentially comparable.
To Reproduce
if (typeof a === 'object' || typeof b === 'object') {
throw TypeError( When comparing object types, a custom comparator must be defined in the constructor's options parameter.
);
}
The text was updated successfully, but these errors were encountered:
Describe the bug
Enforcing an object type comparison function in the default comparator for a BST may impact performance; it’s worth considering a design change.
The Date type within object data types is essentially comparable.
To Reproduce
if (typeof a === 'object' || typeof b === 'object') {
throw TypeError(
When comparing object types, a custom comparator must be defined in the constructor's options parameter.
);
}
The text was updated successfully, but these errors were encountered: