I know that JavaScript now has sets, but I wonder if there is something to realize the function of multiSet, or if there is some framework that has the functions of multiset which I really need a lot.
Or I have to code it by myself to do the research of Red-Black Tree?