JS: Promise.prototype
(new in ECMAScript 2015)
Properties
Promise.prototype.constructor-
value is the constructor
Promise.console.assert(Promise.prototype.constructor === Promise); Promise.prototype [ Symbol.toStringTag ]-
value is the string
"Promise"console.assert(Promise.prototype[Symbol.toStringTag] === "Promise");