Obiekt player:
let person = { first_name: "Jan", surname: "Kowalski", born_year: 1995, work: "Instruktor", player: { nick: "Kowal123", exp: 1500, level: 30 } };
Który zapis jest poprawny?
- Object.keys(person);
- Object.keys(person.player);
- Object.keys(player);