Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created July 16, 2021 17:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/dceb0b7c906296a715e08c3f3ba57c37 to your computer and use it in GitHub Desktop.
Save parzibyte/dceb0b7c906296a715e08c3f3ba57c37 to your computer and use it in GitHub Desktop.
const persona = {
nombre: "Luis",
edad: 24,
web: "https://parzibyte.me/blog",
};
console.log("El objeto es: ");
console.log(persona);
for (const [clave, valor] of Object.entries(persona)) {
console.log("Iterando...");
console.log("La clave es: " + clave);
console.log("El valor es: " + valor);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment