docs: function Promise(resolver, label) {
        this._id = counter++;
        this._label = label;
        this._state = undefined;
        this._result = undefined;
        this._subscribers = [];
  
        if (config.instrument) {
          instrument('created', this);
        }
  
        if (noop !== resolver) {
          if (!isFunction(resolver)) {
            needsResolver();
          }
  
          if (!(this instanceof Promise)) {
            needsNew();
          }
  
          initializePromise(this, resolver);
        }
      }