前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
The function destroys only the contents not the object itself thus it should be called Clear.
拖放文件到此处或点击上传