sleep(ms) {
    return new Promise((resolve) => {
      setTimeout(resolve, ms);
    });
  }
/**
   * Sleeps the given amount of milliseconds
   * @param  {Number} ms the count of milliseconds to sleep
   */
Sleeps the given amount of milliseconds
@param  {Number} ms the count of milliseconds to sleep
Sleeps the given amount of milliseconds @param { Number } ms the count of milliseconds to sleep
sleep(ms) {
    return new Promise((resolve) => {
      setTimeout(resolve, ms);
    });
  }
sleep ( ms ) { return new Promise ( ( resolve ) => { setTimeout ( resolve , ms ) ; } ) ; }
Sleeps the given amount of milliseconds
 @param  {Number} ms the count of milliseconds to sleep
Sleeps the given amount of milliseconds @param { Number } ms the count of milliseconds to sleep