如何删除有角杂物firebase上的完整集合?

我需要在有角度的原始Firebase应用程序中删除完整的集合。

I found this in the firebase documentation, but I don't know how to implement it: firebase.google.com/docs/firestore/solutions/delete-collections

提前致谢。