MCPcopy Index your code
hub / github.com/smallfawn/QLScriptPublic / constructor

Method constructor

jlld.js:223–232  ·  view source on GitHub ↗
(t, s)

Source from the content-addressed store, hash-verified

221function Env(t, s) {
222 return new (class {
223 constructor(t, s) {
224 this.name = t;
225 this.data = null;
226 this.dataFile = "box.dat";
227 this.logs = [];
228 this.logSeparator = "\n";
229 this.startTime = new Date().getTime();
230 Object.assign(this, s);
231 this.log("", `\ud83d\udd14${this.name}, \u5f00\u59cb!`);
232 }
233 isNode() {
234 return "undefined" != typeof module && !!module.exports;
235 }

Callers

nothing calls this directly

Calls 2

getTimeMethod · 0.80
logMethod · 0.45

Tested by

no test coverage detected