Quiero iterar este arreglo de objetos, quiero obtener los valores: level1 john does leven2 juan perez <!-- begin snippet: js hide: false console: true babel: false --> <!-- language: lang-js --> var obj = [{ "level1": { first: "John", last: "Doe" } }, { "level2": { first: "juan", last: "perez" } }] Object.keys(obj).forEach(function(key) { console.log(key, obj[key]); }); <!-- end snippet -->