różnica

console.log(Object.keys({x: 0, y: 0, z: 2}));
// → ["x", "y", "z"]
Abdi Said