(t, s)
| 221 | function 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 | } |