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

Function statusCode

example/tests/gm_xhr_test.js:76–78  ·  view source on GitHub ↗
(response)

Source from the content-addressed store, hash-verified

74 };
75
76 const statusCode = (response) => {
77 return (+response.readyState + +response.status / 1000).toFixed(3);
78 };
79
80 const resPrint = (r) => {
81 const a = statusCode(r);

Callers 1

resPrintFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected