in JS i get my data from php. But when i will get the min or max value it is not working. it is Infinity. What ist wrong with this myTemp1 array?
  let myTime =[];
  let myTemp1 =[];
  let myHumi1 =[];
  $.get("./php/get_temp_humi_last_24.php", function(data){
    var myValue = jQuery.parseJSON(data);
      myValue.forEach(function(row){
      myTime.push(row.time);
      myTemp1.push(parseFloat(row.ch1_Temp));
      myHumi1.push(parseFloat(row.ch1_Humi));
    });
  });
  console.log(Math.min(...myTemp1));
