fork(1) download
  1. // your code goes here
  2. function myfunc(arr){
  3. let sum=arr.reduce((a,b)=>a+b,0)
  4. return sum/arr.length;}
Success #stdin #stdout 0.02s 16944KB
stdin
Standard input is empty
stdout
Standard output is empty