javascript usando math.min () em uma matriz

function myArrayMin(arr) {
  return Math.min.apply(null, arr);
}
naly moslih