1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:27:45 +00:00

LibJS: Implement get Intl.Collator.prototype.compare

This commit is contained in:
Idan Horowitz 2022-02-20 21:00:37 +02:00 committed by Tim Flynn
parent 0bdb293262
commit 6558f4ae6b
5 changed files with 84 additions and 7 deletions

View file

@ -91,5 +91,10 @@ StringView Collator::case_first_string() const
VERIFY_NOT_REACHED();
}
}
void Collator::visit_edges(Visitor& visitor)
{
Base::visit_edges(visitor);
visitor.visit(m_bound_compare);
}
}