This commit is contained in:
dgflash
2023-02-10 18:25:38 +08:00
parent f025b726de
commit 8c7b05da3d

View File

@@ -40,4 +40,9 @@ export class Collection<K, V> extends Map<K, V>{
}
return false;
}
clear(): void {
this._array.splice(0, this._array.length);
super.clear();
}
}