const user ={ name:'Shirshak', age:25, subscibers:200, money:'lolno' } for(let x in user){ console.log(user[x]) //name,age,subscriber and money(only get key not value) }