code: function(executor) {
              /*  optionally support non-constructor/plain-function call  */
              if (!(this instanceof Promise)) return new Promise(executor);
              /*  initialize object  */
              this.id = "Thenable/1.0.7";
              this.state = STATE_PENDING;
              /*  initial state  */
              this.fulfillValue = undefined;
              /*  initial value  */
              /*  [Promises/A+ 1.3, 2.1.2.2]  */
              this.rejectReason = undefined;
              /*  initial reason */
              /*  [Promises/A+ 1.5, 2.1.3.2]  */
              this.onFulfilled = [];
              /*  initial handlers  */
              this.onRejected = [];
              /*  initial handlers  */
              /*  support optional executor function  */
              if (typeof executor === "function") executor.call(this, this.fulfill.bind(this), this.reject.bind(this));
          }
docs: /*  [Promises/A+ 2.1.3] /*  promise object constructor