Réponse

const robotKeys = Object.keys(robot);

Colonne
Explication

Exemple :
const robot = {
model: 'SAL-1000',
mobile: true,
sentient: false,
armor: 'Steel-plated',
energyLevel: 75
};

// What is missing in the following method call?
const robotKeys = Object.keys(robot);

Question

Attention : méthode de Object (native) pour lire et retourner dans une constante "robotKeys" (tableau) toutes les clés d'un objet littéral "robot"

Thématique