Answers for "loop through objects in javascript list"

6

javascript iterate object

let person={
 	first_name:"johnny",
  	last_name: "johnson",
	phone:"703-3424-1111"
};
for (let i in person) {
  let t = person[i]
  	console.log(i,":",t);
}
Posted by: Guest on March-18-2020

Code answers related to "loop through objects in javascript list"

Code answers related to "Javascript"

Browse Popular Code Answers by Language