feature: vor und nachteile

This commit is contained in:
Hikyu
2026-05-31 13:54:31 +02:00
parent 552a947a1c
commit e3dad17446
23270 changed files with 3024794 additions and 200 deletions
@@ -0,0 +1,10 @@
//#region src/compat/_internal/mapToEntries.ts
function mapToEntries(map) {
const arr = new Array(map.size);
const keys = map.keys();
const values = map.values();
for (let i = 0; i < arr.length; i++) arr[i] = [keys.next().value, values.next().value];
return arr;
}
//#endregion
export { mapToEntries };