Find top 3 values entries in a sorted JavaScript dictionary?

I have a sorted dictionary with certain number of entries:

dict = {B:3, A:2, C:2, D:1, E:0, F:0...}

Are there any ways to filter the dictionary to find the entries with top 3 largest values while considering duplicated values so the output will be? :

output = {B:3, A:2, C:2, D:1}

Thanks for reading..