Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function testSetTimeOut(count){
- let innerCount =3;
- setTimeout(function(){
- console.log(Math.floor(Date.now()/1000));
- console.log(count);
- count++;
- if(count<3){
- testSetTimeOut(count);
- }
- },5000)
- }
- testSetTimeOut(0)
Advertisement
Add Comment
Please, Sign In to add comment