fork(1) 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) x++
  5. {text +=obj.x}
  6. console.log(text)
Success #stdin #stdout 0.03s 16748KB
stdin
Standard input is empty
stdout
undefined