fork(3) 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 +=obj[x]+","+" "};
  6. console.log(text)
Success #stdin #stdout 0.02s 16852KB
stdin
Standard input is empty
stdout
William, Ogbuji, John, Mercy,