Escape Número de entrada exponencial em JS

isNumber= (e) => {
     e = (e) ? e : window.event;
      var charCode = (e.which) ? e.which : e.keyCode;
      if ((charCode > 31 && (charCode < 48 || charCode > 57)) && charCode !== 46) {
        e.preventDefault();
      
      } else {
        return true;
      }
    }
Innocent Ibex