var array=['1','2','3','fdy']; for(var x=0;x<array.length;x++){ console.log(array[x]); } for(var x in array){ console.log(array[x]); } array.forEach(function(element) { console.log(element); }); person=new Object(); person.firstname="Bill"; person.lastname="Gates"; person.age=56; person.eyecolor="blue"; console.log("----"+person.age); var Student={ name:'fdy', age:23, id:1009 }; console.log(Student.id); Student.hieht=180; delete Student.hieht; console.log(Student.hieht);