JS: Promise.prototype.constructor
Promise.prototype.constructor-
value is the constructor
Promiseconsole.assert(Promise.prototype.constructor === Promise);
Promise.prototype.constructorvalue is the constructor Promise
console.assert(Promise.prototype.constructor === Promise);