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