JavaScript au milieu du tableau
var arr = [1,2,3,4,5];
return arr[Math.floor(arr.length/2)];
Yawning Yak
var arr = [1,2,3,4,5];
return arr[Math.floor(arr.length/2)];