JavaScript program for for-in loop on July 05, 2021 Get link Facebook X Pinterest Email Other Apps var obj={ fname:"Gaurav", lname:"Soni", age:18, country:"India"}for(var key in obj){ document. write(key+":"+obj[key]+"<br>");}Output Comments
Comments
Post a Comment