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