fork(1) download
  1. // your code goes here
  2. var Arr=["William","Ogbuji","John","Mercy"];
  3. Arr[3]="Favour";
  4. let arrL=Arr.length;
  5. let text="";
  6. for(let x=0; x<arrL; x++)
  7. {text +=Arr[x]+","+" "};
  8. console.log(text)
Success #stdin #stdout 0.03s 16608KB
stdin
Standard input is empty
stdout
William, Ogbuji, John, Favour,