Promise() constructor - JavaScript | MDN
The Promise() constructor creates Promise objects. It is primarily used to wrap callback-based APIs that do not already support promises.