MCPcopy Create free account
hub / github.com/TruthHun/BookStack / Promise

Function Promise

static/word2md/mammoth.browser.js:6787–6799  ·  view source on GitHub ↗
(executor)

Source from the content-addressed store, hash-verified

6785}
6786
6787function Promise(executor) {
6788 this._bitField = 0;
6789 this._fulfillmentHandler0 = undefined;
6790 this._rejectionHandler0 = undefined;
6791 this._promise0 = undefined;
6792 this._receiver0 = undefined;
6793 if (executor !== INTERNAL) {
6794 check(this, executor);
6795 this._resolveFromExecutor(executor);
6796 }
6797 this._promiseCreated();
6798 this._fireEvent("promiseCreated", this);
6799}
6800
6801Promise.prototype.toString = function () {
6802 return "[object Promise]";

Callers

nothing calls this directly

Calls 1

checkFunction · 0.70

Tested by

no test coverage detected