MCPcopy Create free account
hub / github.com/Semporia/Scripts / constructor

Method constructor

jd_api_test.js:141–143  ·  view source on GitHub ↗
(t, e)

Source from the content-addressed store, hash-verified

139
140 return new class {
141 constructor(t, e) {
142 this.name = t, this.http = new s(this), this.data = null, this.dataFile = "box.dat", this.logs = [], this.isMute = !1, this.isNeedRewrite = !1, this.logSeparator = "\n", this.startTime = (new Date).getTime(), Object.assign(this, e), this.log("", `🔔${this.name}, 开始!`)
143 }
144
145 isNode() {
146 return "undefined" != typeof module && !!module.exports

Callers

nothing calls this directly

Calls 1

logMethod · 0.45

Tested by

no test coverage detected