I've been trying this code for a for loop inplementing an array into it
const jonas = { firstName: ‘Jonas’, lastName: ‘Billing’, age: 2037-1991, job: ‘teacher’, friends: [‘Michael’, ‘Peter’, ‘Steven’] }; const types = []; for (let i = 0; i < jonas.length; i++) { console.log(jonas[i], typeof jonas[i]); types.push(typeof jonas[i]); } console.log(types); I expected the each property of the object to be logged into the console as i stated… Read More I've been trying this code for a for loop inplementing an array into it