MCPcopy Index your code
hub / github.com/scriptscat/scriptcat / resPrint

Function resPrint

example/tests/gm_xhr_test.js:80–86  ·  view source on GitHub ↗
(r)

Source from the content-addressed store, hash-verified

78 };
79
80 const resPrint = (r) => {
81 const a = statusCode(r);
82 const b1 = "response" in r ? typing(r.response) : "missing";
83 const b2 = "responseText" in r ? typing(r.responseText) : "missing";
84 const b3 = "responseXML" in r ? typing(r.responseXML) : "missing";
85 return `${a};r=${b1};t=${b2};x=${b3}`;
86 };
87
88 const isFirefox = typeof mozInnerScreenX === "number";
89

Callers 1

runFunction · 0.85

Calls 2

statusCodeFunction · 0.85
typingFunction · 0.85

Tested by

no test coverage detected