Posted inJavaScript
How to Iterate Over All the Properties of an Object in JavaScript
https://youtu.be/1qir1_n-OyQ?si=R0N6yXhKSI-rBgIA const student = { first_name: 'Mike', last_name: 'Tyson', email: 'email@somemail.com' }; const prop = Object.keys(student); for (const property of prop) { console.log(`${property} : ${student[property]}`); }