• Hi,

    I think your problem is that you are getting the time after 1.024 seconds, but are just not printing it.

    If you want to print it you could try:

    setTimeout(function() {
      console.log(getTime());
    },1024)
    
About

Avatar for Gordon @Gordon started