JS wyklucz z obiektu
function omit(key, obj) {
const { [key]: omitted, ...rest } = obj;
return rest;
}
Vinox Dev
function omit(key, obj) {
const { [key]: omitted, ...rest } = obj;
return rest;
}