开发者

Cannot convert Nan to Java.lang.long

开发者 https://www.devze.com 2023-03-30 12:26 出处:网络
TimeoutInterval = TimeoutInterval * 60 * 1000; //Converting to milisecond TimeOutObj = setTimeout(function(){
TimeoutInterval = TimeoutInterval * 60 * 1000; //Converting to milisecond
TimeOutObj = setTimeout(function(){    

},TimeoutInterval);

What is wrong here, why i am getting this e开发者_JAVA百科rror Cannot convert Nan to Java.lang.long.


try

  var TimeoutInterval = 1;
  TimeoutInterval = TimeoutInterval * 60 * 1000;


Do this :

var TimeoutInterval = 1;
TimeoutInterval = TimeoutInterval * 60 * 1000; //Converting to milisecond
var TimeOutObj = setTimeout(function(){},TimeoutInterval);
0

精彩评论

暂无评论...
验证码 换一张
取 消