code: function microSeconds() {
    var ms = new Date().getTime();
  
    if (ms === lastMs) {
      additional++;
      return ms * 1000 + additional;
    } else {
      lastMs = ms;
      additional = 0;
      return ms * 1000;
    }
  }
docs: returns the current time in micro-seconds,
  WARNING: This is a pseudo-function
  Performance.now is not reliable in webworkers, so we just make sure to never return the same time.
  This is enough in browsers, and this function will not be used in nodejs.
  The main reason for this hack is to ensure that BroadcastChannel behaves equal to production when it is used in fast-running unit tests.