JS: Promise (class)
JS: Promise.reject
By Xah Lee. Date:
2026-10-19
.
work in progress
Promise.reject(
r
)
returns a new promise rejected with the passed argument.
ECMAScript 2015 §Control Abstraction Objects#sec-promise.reject
JavaScript. Promise
JS: Promise. Index
JS: Promise Tutorial
JS: Promise .prototype .then
JS: Promise .prototype .catch
JS: Promise.all
JS: Promise.race
JS: Promise.resolve
JS: Promise.reject
JS: Promise (class)
JS: Promise.prototype
Web dev Search 🔍
HTML
CSS
JS
JS Obj Ref
JS DOM
JavaScript in Depth
Basics
Filename Extension
Run JavaScript
Comment
Print
String
Number
Operators
Assignment
Boolean
Test Equality
Conditional
Loop
Array
Object
Function
Method
In-depth
Value Types
Variable
String
Property
Object
Array
Function
Class
Iterable
Promise
Module
Try Catch Throw
Regular Expression
Misc index
JS Object Reference
ECMAScript News
Misc. Index