Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript loop thrown object

var person = {
	first_name: "johnny",
    last_name: "jobhson",
  	phone: "703-3424-1111"
};
for(var property in person){
  console.log(property,':', person[property]);
}
 
PREVIOUS NEXT
Tagged: #javascript #loop #thrown #object
ADD COMMENT
Topic
Name
6+4 =