fork download
  1. // your code goes here
  2. const obj={first:"William",second:"Ogbuji",seclast:"John",last:"Mercy"};
  3. let text="";
  4. for(x in obj)
  5. {text +=x+","+" "};
  6. console.log(text)
Success #stdin #stdout 0.03s 16744KB
stdin
Standard input is empty
stdout
first, second, seclast, last,