Przykład z obiektu z zakresu
const entries = [
['foo', 'bar'],
['baz', 42]
];
Object.fromEntries(entries)
WindMillCode
const entries = [
['foo', 'bar'],
['baz', 42]
];
Object.fromEntries(entries)