whole_func_string: function RejectPromise(promise, reason) {
    // Check promise status to confirm that this reject has an effect.
    // Call runtime for callbacks to the debugger or for unhandled reject.
    if (GET_PRIVATE(promise, promiseStateSymbol) === kPending) {
      var debug_is_active = DEBUG_IS_ACTIVE;
      if (debug_is_active ||
          !HAS_DEFINED_PRIVATE(promise, promiseHasHandlerSymbol)) {
        %PromiseRejectEvent(promise, reason, debug_is_active);
      }
    }
    FulfillPromise(promise, kRejected, reason, promiseRejectReactionsSymbol)
  }
func_code_string: function RejectPromise(promise, reason) {
    // Check promise status to confirm that this reject has an effect.
    // Call runtime for callbacks to the debugger or for unhandled reject.
    if (GET_PRIVATE(promise, promiseStateSymbol) === kPending) {
      var debug_is_active = DEBUG_IS_ACTIVE;
      if (debug_is_active ||
          !HAS_DEFINED_PRIVATE(promise, promiseHasHandlerSymbol)) {
        %PromiseRejectEvent(promise, reason, debug_is_active);
      }
    }
    FulfillPromise(promise, kRejected, reason, promiseRejectReactionsSymbol)
  }
func_documentation_string: ES#sec-rejectpromise RejectPromise ( promise, reason )