This repository has been archived on 2026-03-28. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
StasisWarden-Legacy/node_modules/es-toolkit/dist/compat/_internal/setToEntries.js
T

16 lines
369 B
JavaScript

'use strict';
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
function setToEntries(set) {
const arr = new Array(set.size);
const values = set.values();
for (let i = 0; i < arr.length; i++) {
const value = values.next().value;
arr[i] = [value, value];
}
return arr;
}
exports.setToEntries = setToEntries;