await new Promise(r => setTimeout(r, timeToWaitInMs));

      Javascript language logoSleep

      My JavaScript recipes

      Sleep for a given period of time in milliseconds

      Shortcut: sleep

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.