JS: Promise.prototype.constructor

By Xah Lee. Date: .
Promise.prototype.constructor

value is Promise

console.assert(Promise.prototype.constructor === Promise);