File indexing completed on 2024-05-19 04:42:03
0001 /* 0002 SPDX-FileCopyrightText: 2014 Denis Steckelmacher <steckdenis@yahoo.fr> 0003 0004 SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 0005 */ 0006 0007 /* 0008 * exports.Object 0009 */ 0010 function Object() { return ; } 0011 exports.Object = Object; 0012 0013 exports.Object.prototype.assign = function (target, sources) { return new Object(); }; 0014 exports.Object.prototype.assign(new Object(), _mixed); 0015 0016 exports.Object.prototype.create = function (O, properties) { return new Object(); }; 0017 exports.Object.prototype.create(new Object(), new Object()); 0018 0019 exports.Object.prototype.defineProperties = function (O, properties) { return new Object(); }; 0020 exports.Object.prototype.defineProperties(new Object(), new Object()); 0021 0022 exports.Object.prototype.defineProperty = function (O, property, attributes) { return new Object(); }; 0023 exports.Object.prototype.defineProperty(new Object(), "", new Object()); 0024 0025 exports.Object.prototype.freeze = function (O) { return new Object(); }; 0026 exports.Object.prototype.freeze(new Object()); 0027 0028 exports.Object.prototype.getOwnPropertyDescriptor = function (O, property) { return new Object(); }; 0029 exports.Object.prototype.getOwnPropertyDescriptor(new Object(), ""); 0030 0031 exports.Object.prototype.getOwnPropertyNames = function (O) { return []; }; 0032 exports.Object.prototype.getOwnPropertyNames(new Object()); 0033 0034 exports.Object.prototype.getOwnPropertySymbols = function (O) { return []; }; 0035 exports.Object.prototype.getOwnPropertySymbols(new Object()); 0036 0037 exports.Object.prototype.getPrototypeOf = function (O) { return new Object(); }; 0038 exports.Object.prototype.getPrototypeOf(new Object()); 0039 0040 exports.Object.prototype.is = function (a, b) { return true; }; 0041 exports.Object.prototype.is(_mixed, _mixed); 0042 0043 exports.Object.prototype.isExtensible = function (O) { return true; }; 0044 exports.Object.prototype.isExtensible(new Object()); 0045 0046 exports.Object.prototype.isFrozen = function (O) { return true; }; 0047 exports.Object.prototype.isFrozen(new Object()); 0048 0049 exports.Object.prototype.isSealed = function (O) { return true; }; 0050 exports.Object.prototype.isSealed(new Object()); 0051 0052 exports.Object.prototype.keys = function (O) { return {next: function() {}, done: true, value: _mixed}; }; 0053 exports.Object.prototype.keys(new Object()); 0054 0055 exports.Object.prototype.preventExtensions = function (O) { return new Object(); }; 0056 exports.Object.prototype.preventExtensions(new Object()); 0057 0058 exports.Object.prototype.seal = function (O) { return new Object(); }; 0059 exports.Object.prototype.seal(new Object()); 0060 0061 exports.Object.prototype.setPrototypeOf = function (O, proto) { return new Object(); }; 0062 exports.Object.prototype.setPrototypeOf(new Object(), new Object()); 0063 0064 exports.Object.prototype.constructor = function(){}; 0065 0066 exports.Object.prototype.hasOwnProperty = function (property) { return new Object(); }; 0067 exports.Object.prototype.hasOwnProperty(""); 0068 0069 exports.Object.prototype.isPrototypeOf = function (object) { return true; }; 0070 exports.Object.prototype.isPrototypeOf(new Object()); 0071 0072 exports.Object.prototype.propertyIsEnumerable = function (property) { return true; }; 0073 exports.Object.prototype.propertyIsEnumerable(""); 0074 0075 exports.Object.prototype.toLocaleString = function () { return ""; }; 0076 exports.Object.prototype.toLocaleString(); 0077 0078 exports.Object.prototype.toString = function () { return ""; }; 0079 exports.Object.prototype.toString(); 0080 0081 0082 /* 0083 * exports.Function 0084 */ 0085 function Function() { return ; } 0086 exports.Function = Function; 0087 0088 exports.Function.prototype.length = 1; 0089 0090 exports.Function.prototype.apply = function (thisArg, arguments) { return _mixed; }; 0091 exports.Function.prototype.apply(new Object(), []); 0092 0093 exports.Function.prototype.bind = function (thisArg, arguments) { return function(){}; }; 0094 exports.Function.prototype.bind(new Object(), _mixed); 0095 0096 exports.Function.prototype.call = function (thisArg, arguments) { return _mixed; }; 0097 exports.Function.prototype.call(new Object(), _mixed); 0098 0099 exports.Function.prototype.toMethod = function (newHome, methodName) { return function(){}; }; 0100 exports.Function.prototype.toMethod(new Object(), ""); 0101 0102 exports.Function.prototype.name = ""; 0103 0104 0105 /* 0106 * exports.Boolean 0107 */ 0108 function Boolean(value) { return ; } 0109 exports.Boolean = Boolean; 0110 0111 exports.Boolean.prototype.valueOf = function () { return true; }; 0112 exports.Boolean.prototype.valueOf(); 0113 0114 0115 /* 0116 * exports.Error 0117 */ 0118 function Error(message) { return ; } 0119 exports.Error = Error; 0120 0121 exports.Error.prototype.message = ""; 0122 0123 exports.Error.prototype.name = ""; 0124 0125 0126 /* 0127 * exports.EvalError 0128 */ 0129 function EvalError() { return ; } 0130 exports.EvalError = EvalError; 0131 exports.EvalError.prototype = Error; 0132 0133 0134 /* 0135 * exports.RangeError 0136 */ 0137 function RangeError() { return ; } 0138 exports.RangeError = RangeError; 0139 exports.RangeError.prototype = Error; 0140 0141 0142 /* 0143 * exports.ReferenceError 0144 */ 0145 function ReferenceError() { return ; } 0146 exports.ReferenceError = ReferenceError; 0147 exports.ReferenceError.prototype = Error; 0148 0149 0150 /* 0151 * exports.SyntaxError 0152 */ 0153 function SyntaxError() { return ; } 0154 exports.SyntaxError = SyntaxError; 0155 exports.SyntaxError.prototype = Error; 0156 0157 0158 /* 0159 * exports.TypeError 0160 */ 0161 function TypeError() { return ; } 0162 exports.TypeError = TypeError; 0163 exports.TypeError.prototype = Error; 0164 0165 0166 /* 0167 * exports.URIError 0168 */ 0169 function URIError() { return ; } 0170 exports.URIError = URIError; 0171 exports.URIError.prototype = Error; 0172 0173 0174 /* 0175 * exports.Number 0176 */ 0177 function Number(value) { return ; } 0178 exports.Number = Number; 0179 0180 exports.Number.prototype.EPSILON = 1.0; 0181 0182 exports.Number.prototype.isFinite = function (number) { return true; }; 0183 exports.Number.prototype.isFinite(1.0); 0184 0185 exports.Number.prototype.isInteger = function (number) { return true; }; 0186 exports.Number.prototype.isInteger(1); 0187 0188 exports.Number.prototype.isNaN = function (number) { return true; }; 0189 exports.Number.prototype.isNaN(1.0); 0190 0191 exports.Number.prototype.isSafeInteger = function (number) { return true; }; 0192 exports.Number.prototype.isSafeInteger(1); 0193 0194 exports.Number.prototype.MAX_SAFE_INTEGER = 1; 0195 0196 exports.Number.prototype.MAX_VALUE = 1.0; 0197 0198 exports.Number.prototype.NaN = 1.0; 0199 0200 exports.Number.prototype.NEGATIVE_INFINITY = 1.0; 0201 0202 exports.Number.prototype.MIN_SAFE_INTEGER = 1; 0203 0204 exports.Number.prototype.MIN_VALUE = 1.0; 0205 0206 exports.Number.prototype.parseFloat = function (string) { return 1.0; }; 0207 exports.Number.prototype.parseFloat(""); 0208 0209 exports.Number.prototype.parseInt = function (string, radix) { return 1; }; 0210 exports.Number.prototype.parseInt("", 1); 0211 0212 exports.Number.prototype.POSITIVE_INFINITY = 1.0; 0213 0214 exports.Number.prototype.toExponential = function (fractionDigits) { return ""; }; 0215 exports.Number.prototype.toExponential(1); 0216 0217 exports.Number.prototype.toFixed = function (fractionDigits) { return ""; }; 0218 exports.Number.prototype.toFixed(1); 0219 0220 exports.Number.prototype.toPrecision = function (precision) { return ""; }; 0221 exports.Number.prototype.toPrecision(1); 0222 0223 exports.Number.prototype.valueOf = function () { return 1.0; }; 0224 exports.Number.prototype.valueOf(); 0225 0226 0227 /* 0228 * exports.Math 0229 */ 0230 exports.Math = {}; 0231 0232 exports.Math.E = 1.0; 0233 0234 exports.Math.LN10 = 1.0; 0235 0236 exports.Math.LOG10E = 1.0; 0237 0238 exports.Math.LN2 = 1.0; 0239 0240 exports.Math.PI = 1.0; 0241 0242 exports.Math.SQRT1_2 = 1.0; 0243 0244 exports.Math.SQRT2 = 1.0; 0245 0246 exports.Math.abs = function (x) { return 1.0; }; 0247 exports.Math.abs(1.0); 0248 0249 exports.Math.acos = function (x) { return 1.0; }; 0250 exports.Math.acos(1.0); 0251 0252 exports.Math.acosh = function (x) { return 1.0; }; 0253 exports.Math.acosh(1.0); 0254 0255 exports.Math.asin = function (x) { return 1.0; }; 0256 exports.Math.asin(1.0); 0257 0258 exports.Math.asinh = function (x) { return 1.0; }; 0259 exports.Math.asinh(1.0); 0260 0261 exports.Math.atan = function (x) { return 1.0; }; 0262 exports.Math.atan(1.0); 0263 0264 exports.Math.atanh = function (x) { return 1.0; }; 0265 exports.Math.atanh(1.0); 0266 0267 exports.Math.atan2 = function (x, y) { return 1.0; }; 0268 exports.Math.atan2(1.0, 1.0); 0269 0270 exports.Math.cbrt = function (x) { return 1.0; }; 0271 exports.Math.cbrt(1.0); 0272 0273 exports.Math.ceil = function (x) { return 1; }; 0274 exports.Math.ceil(1.0); 0275 0276 exports.Math.clz32 = function (x) { return 1; }; 0277 exports.Math.clz32(1); 0278 0279 exports.Math.cos = function (x) { return 1.0; }; 0280 exports.Math.cos(1.0); 0281 0282 exports.Math.cosh = function (x) { return 1.0; }; 0283 exports.Math.cosh(1.0); 0284 0285 exports.Math.exp = function (x) { return 1.0; }; 0286 exports.Math.exp(1.0); 0287 0288 exports.Math.expm1 = function (x) { return 1.0; }; 0289 exports.Math.expm1(1.0); 0290 0291 exports.Math.floor = function (x) { return 1; }; 0292 exports.Math.floor(1.0); 0293 0294 exports.Math.fround = function (x) { return 1; }; 0295 exports.Math.fround(1.0); 0296 0297 exports.Math.hypot = function (a, b) { return 1.0; }; 0298 exports.Math.hypot(1.0, 1.0); 0299 0300 exports.Math.imul = function (x, y) { return 1; }; 0301 exports.Math.imul(1, 1); 0302 0303 exports.Math.log = function (x) { return 1.0; }; 0304 exports.Math.log(1.0); 0305 0306 exports.Math.log1p = function (x) { return 1.0; }; 0307 exports.Math.log1p(1.0); 0308 0309 exports.Math.log10 = function (x) { return 1.0; }; 0310 exports.Math.log10(1.0); 0311 0312 exports.Math.log2 = function (x) { return 1.0; }; 0313 exports.Math.log2(1.0); 0314 0315 exports.Math.max = function (a, b) { return 1.0; }; 0316 exports.Math.max(1.0, 1.0); 0317 0318 exports.Math.min = function (a, b) { return 1.0; }; 0319 exports.Math.min(1.0, 1.0); 0320 0321 exports.Math.pow = function (x, y) { return 1.0; }; 0322 exports.Math.pow(1.0, 1.0); 0323 0324 exports.Math.random = function () { return 1.0; }; 0325 exports.Math.random(); 0326 0327 exports.Math.round = function (x) { return 1; }; 0328 exports.Math.round(1.0); 0329 0330 exports.Math.sign = function (x) { return 1; }; 0331 exports.Math.sign(1.0); 0332 0333 exports.Math.sin = function (x) { return 1.0; }; 0334 exports.Math.sin(1.0); 0335 0336 exports.Math.sinh = function (x) { return 1.0; }; 0337 exports.Math.sinh(1.0); 0338 0339 exports.Math.sqrt = function (x) { return 1.0; }; 0340 exports.Math.sqrt(1.0); 0341 0342 exports.Math.tan = function (x) { return 1.0; }; 0343 exports.Math.tan(1.0); 0344 0345 exports.Math.tanh = function (x) { return 1.0; }; 0346 exports.Math.tanh(1.0); 0347 0348 exports.Math.trunc = function (x) { return 1; }; 0349 exports.Math.trunc(1.0); 0350 0351 0352 /* 0353 * exports.Date 0354 */ 0355 function Date(year, month, date, hours, minutes, seconds, ms) { return ; } 0356 exports.Date = Date; 0357 0358 exports.Date.prototype.now = function () { return new Date(); }; 0359 exports.Date.prototype.now(); 0360 0361 exports.Date.prototype.parse = function (string) { return new Date(); }; 0362 exports.Date.prototype.parse(""); 0363 0364 exports.Date.prototype.UTC = function (year, month, date, hours, minutes, seconds, ms) { return new Date(); }; 0365 exports.Date.prototype.UTC(1, 1, 1, 1, 1, 1, 1); 0366 0367 exports.Date.prototype.getDate = function () { return 1; }; 0368 exports.Date.prototype.getDate(); 0369 0370 exports.Date.prototype.getDay = function () { return 1; }; 0371 exports.Date.prototype.getDay(); 0372 0373 exports.Date.prototype.getFullYear = function () { return 1; }; 0374 exports.Date.prototype.getFullYear(); 0375 0376 exports.Date.prototype.getHours = function () { return 1; }; 0377 exports.Date.prototype.getHours(); 0378 0379 exports.Date.prototype.getMilliseconds = function () { return 1; }; 0380 exports.Date.prototype.getMilliseconds(); 0381 0382 exports.Date.prototype.getMinutes = function () { return 1; }; 0383 exports.Date.prototype.getMinutes(); 0384 0385 exports.Date.prototype.getMonth = function () { return 1; }; 0386 exports.Date.prototype.getMonth(); 0387 0388 exports.Date.prototype.getSeconds = function () { return 1; }; 0389 exports.Date.prototype.getSeconds(); 0390 0391 exports.Date.prototype.getTime = function () { return 1; }; 0392 exports.Date.prototype.getTime(); 0393 0394 exports.Date.prototype.getTimezoneOffset = function () { return 1; }; 0395 exports.Date.prototype.getTimezoneOffset(); 0396 0397 exports.Date.prototype.getUTCDate = function () { return 1; }; 0398 exports.Date.prototype.getUTCDate(); 0399 0400 exports.Date.prototype.getUTCDay = function () { return 1; }; 0401 exports.Date.prototype.getUTCDay(); 0402 0403 exports.Date.prototype.getUTCFullYear = function () { return 1; }; 0404 exports.Date.prototype.getUTCFullYear(); 0405 0406 exports.Date.prototype.getUTCHours = function () { return 1; }; 0407 exports.Date.prototype.getUTCHours(); 0408 0409 exports.Date.prototype.getUTCMilliseconds = function () { return 1; }; 0410 exports.Date.prototype.getUTCMilliseconds(); 0411 0412 exports.Date.prototype.getUTCMinutes = function () { return 1; }; 0413 exports.Date.prototype.getUTCMinutes(); 0414 0415 exports.Date.prototype.getUTCMonth = function () { return 1; }; 0416 exports.Date.prototype.getUTCMonth(); 0417 0418 exports.Date.prototype.getUTCSeconds = function () { return 1; }; 0419 exports.Date.prototype.getUTCSeconds(); 0420 0421 exports.Date.prototype.setDate = function (date) { return 1; }; 0422 exports.Date.prototype.setDate(1); 0423 0424 exports.Date.prototype.setFullYear = function (year, month, date) { return 1; }; 0425 exports.Date.prototype.setFullYear(1, 1, 1); 0426 0427 exports.Date.prototype.setHours = function (hours, minutes, seconds, ms) { return 1; }; 0428 exports.Date.prototype.setHours(1, 1, 1, 1); 0429 0430 exports.Date.prototype.setMilliseconds = function (ms) { return 1; }; 0431 exports.Date.prototype.setMilliseconds(1); 0432 0433 exports.Date.prototype.setMinutes = function (min, sec, ms) { return 1; }; 0434 exports.Date.prototype.setMinutes(1, 1, 1); 0435 0436 exports.Date.prototype.setMonth = function (month, date) { return 1; }; 0437 exports.Date.prototype.setMonth(1, 1); 0438 0439 exports.Date.prototype.setSeconds = function (sec, ms) { return 1; }; 0440 exports.Date.prototype.setSeconds(1, 1); 0441 0442 exports.Date.prototype.setTime = function (time) { return 1; }; 0443 exports.Date.prototype.setTime(1); 0444 0445 exports.Date.prototype.setUTCDate = function (date) { return 1; }; 0446 exports.Date.prototype.setUTCDate(1); 0447 0448 exports.Date.prototype.setUTCFullYear = function (year, month, date) { return 1; }; 0449 exports.Date.prototype.setUTCFullYear(1, 1, 1); 0450 0451 exports.Date.prototype.setUTCHours = function (hours, minutes, seconds, ms) { return 1; }; 0452 exports.Date.prototype.setUTCHours(1, 1, 1, 1); 0453 0454 exports.Date.prototype.setUTCMilliseconds = function (ms) { return 1; }; 0455 exports.Date.prototype.setUTCMilliseconds(1); 0456 0457 exports.Date.prototype.setUTCMinutes = function (min, sec, ms) { return 1; }; 0458 exports.Date.prototype.setUTCMinutes(1, 1, 1); 0459 0460 exports.Date.prototype.setUTCMonth = function (month, date) { return 1; }; 0461 exports.Date.prototype.setUTCMonth(1, 1); 0462 0463 exports.Date.prototype.setUTCSeconds = function (sec, ms) { return 1; }; 0464 exports.Date.prototype.setUTCSeconds(1, 1); 0465 0466 exports.Date.prototype.toDateString = function () { return ""; }; 0467 exports.Date.prototype.toDateString(); 0468 0469 exports.Date.prototype.toISOString = function () { return ""; }; 0470 exports.Date.prototype.toISOString(); 0471 0472 exports.Date.prototype.toJSON = function (key) { return ""; }; 0473 exports.Date.prototype.toJSON(""); 0474 0475 exports.Date.prototype.toLocaleDateString = function () { return ""; }; 0476 exports.Date.prototype.toLocaleDateString(); 0477 0478 exports.Date.prototype.toLocaleTimeString = function () { return ""; }; 0479 exports.Date.prototype.toLocaleTimeString(); 0480 0481 exports.Date.prototype.toTimeString = function () { return ""; }; 0482 exports.Date.prototype.toTimeString(); 0483 0484 exports.Date.prototype.toUTCString = function () { return ""; }; 0485 exports.Date.prototype.toUTCString(); 0486 0487 exports.Date.prototype.valueOf = function () { return 1; }; 0488 exports.Date.prototype.valueOf(); 0489 0490 0491 /* 0492 * exports.String 0493 */ 0494 function String(value) { return ; } 0495 exports.String = String; 0496 0497 exports.String.prototype.fromCharCode = function (code) { return ""; }; 0498 exports.String.prototype.fromCharCode(1); 0499 0500 exports.String.prototype.fromCodePoint = function (code) { return ""; }; 0501 exports.String.prototype.fromCodePoint(1); 0502 0503 exports.String.prototype.raw = function (callSize) { return ""; }; 0504 exports.String.prototype.raw(_mixed); 0505 0506 exports.String.prototype.charAt = function (pos) { return ""; }; 0507 exports.String.prototype.charAt(1); 0508 0509 exports.String.prototype.charCodeAt = function (pos) { return 1; }; 0510 exports.String.prototype.charCodeAt(1); 0511 0512 exports.String.prototype.codePointAt = function (pos) { return 1; }; 0513 exports.String.prototype.codePointAt(1); 0514 0515 exports.String.prototype.concat = function (other) { return ""; }; 0516 exports.String.prototype.concat(""); 0517 0518 exports.String.prototype.contains = function (searchString, position) { return true; }; 0519 exports.String.prototype.contains("", 1); 0520 0521 exports.String.prototype.endsWith = function (searchString, endPosition) { return true; }; 0522 exports.String.prototype.endsWith("", 1); 0523 0524 exports.String.prototype.indexOf = function (searchString, position) { return 1; }; 0525 exports.String.prototype.indexOf("", 1); 0526 0527 exports.String.prototype.lastIndexOf = function (searchString, position) { return 1; }; 0528 exports.String.prototype.lastIndexOf("", 1); 0529 0530 exports.String.prototype.localeCompare = function (other) { return 1; }; 0531 exports.String.prototype.localeCompare(""); 0532 0533 exports.String.prototype.match = function (regexp) { return {index: 1, input: "", length: 1}; }; 0534 exports.String.prototype.match(new RegExp()); 0535 0536 exports.String.prototype.normalize = function (form) { return ""; }; 0537 exports.String.prototype.normalize(""); 0538 0539 exports.String.prototype.repeat = function (count) { return ""; }; 0540 exports.String.prototype.repeat(1); 0541 0542 exports.String.prototype.replace = function (searchValue, replaceValue) { return ""; }; 0543 exports.String.prototype.replace("", ""); 0544 0545 exports.String.prototype.search = function (regexp) { return 1; }; 0546 exports.String.prototype.search(new RegExp()); 0547 0548 exports.String.prototype.slice = function (start, end) { return ""; }; 0549 exports.String.prototype.slice(1, 1); 0550 0551 exports.String.prototype.split = function (separator, limit) { return []; }; 0552 exports.String.prototype.split("", 1); 0553 0554 exports.String.prototype.startsWith = function (searchString, position) { return true; }; 0555 exports.String.prototype.startsWith("", 1); 0556 0557 exports.String.prototype.substring = function (start, end) { return ""; }; 0558 exports.String.prototype.substring(1, 1); 0559 0560 exports.String.prototype.toLocaleLowerCase = function () { return ""; }; 0561 exports.String.prototype.toLocaleLowerCase(); 0562 0563 exports.String.prototype.toLocaleUpperCase = function () { return ""; }; 0564 exports.String.prototype.toLocaleUpperCase(); 0565 0566 exports.String.prototype.toLowerCase = function () { return ""; }; 0567 exports.String.prototype.toLowerCase(); 0568 0569 exports.String.prototype.toUpperCase = function () { return ""; }; 0570 exports.String.prototype.toUpperCase(); 0571 0572 exports.String.prototype.trim = function () { return ""; }; 0573 exports.String.prototype.trim(); 0574 0575 exports.String.prototype.valueOf = function () { return ""; }; 0576 exports.String.prototype.valueOf(); 0577 0578 exports.String.prototype.length = 1; 0579 0580 0581 /* 0582 * exports.RegExp 0583 */ 0584 function RegExp(pattern, flags) { return ; } 0585 exports.RegExp = RegExp; 0586 0587 exports.RegExp.prototype.compile = function () { return ; }; 0588 exports.RegExp.prototype.compile(); 0589 0590 exports.RegExp.prototype.exec = function (string) { return []; }; 0591 exports.RegExp.prototype.exec(""); 0592 0593 exports.RegExp.prototype.ingoreCase = true; 0594 0595 exports.RegExp.prototype.match = function (string) { return {index: 1, input: "", length: 1}; }; 0596 exports.RegExp.prototype.match(""); 0597 0598 exports.RegExp.prototype.multiline = true; 0599 0600 exports.RegExp.prototype.replace = function (string, replaceValue) { return ""; }; 0601 exports.RegExp.prototype.replace("", ""); 0602 0603 exports.RegExp.prototype.search = function (string) { return 1; }; 0604 exports.RegExp.prototype.search(""); 0605 0606 exports.RegExp.prototype.source = ""; 0607 0608 exports.RegExp.prototype.split = function (string, limit) { return []; }; 0609 exports.RegExp.prototype.split("", 1); 0610 0611 exports.RegExp.prototype.sticky = true; 0612 0613 exports.RegExp.prototype.test = function (string) { return true; }; 0614 exports.RegExp.prototype.test(""); 0615 0616 exports.RegExp.prototype.unicode = true; 0617 0618 exports.RegExp.prototype.lastIndex = 1; 0619 0620 exports.RegExp.prototype.lastMatch = ""; 0621 0622 0623 /* 0624 * exports.Array 0625 */ 0626 function Array(len) { return ; } 0627 exports.Array = Array; 0628 0629 exports.Array.prototype.from = function (arrayLike, mapfn, thisArg) { return []; }; 0630 exports.Array.prototype.from(_mixed, function(){}, new Object()); 0631 0632 exports.Array.prototype.isArray = function (arg) { return true; }; 0633 exports.Array.prototype.isArray(_mixed); 0634 0635 exports.Array.prototype.of = function (items) { return []; }; 0636 exports.Array.prototype.of(_mixed); 0637 0638 exports.Array.prototype.concat = function (other) { return []; }; 0639 exports.Array.prototype.concat([]); 0640 0641 exports.Array.prototype.copyWithin = function (target, start, end) { return []; }; 0642 exports.Array.prototype.copyWithin(1, 1, 1); 0643 0644 exports.Array.prototype.entries = function () { return {next: function() {}, done: true, value: _mixed}; }; 0645 exports.Array.prototype.entries(); 0646 0647 exports.Array.prototype.every = function (callbackfn, thisArg) { return true; }; 0648 exports.Array.prototype.every(function(){}, new Object()); 0649 0650 exports.Array.prototype.fill = function (value, start, end) { return []; }; 0651 exports.Array.prototype.fill(_mixed, 1, 1); 0652 0653 exports.Array.prototype.filter = function (callbackfn, thisArg) { return []; }; 0654 exports.Array.prototype.filter(function(){}, new Object()); 0655 0656 exports.Array.prototype.find = function (predicate, thisArg) { return _mixed; }; 0657 exports.Array.prototype.find(function(){}, new Object()); 0658 0659 exports.Array.prototype.findIndex = function (predicate, thisArg) { return 1; }; 0660 exports.Array.prototype.findIndex(function(){}, new Object()); 0661 0662 exports.Array.prototype.forEach = function (callbackfn, thisArg) { return ; }; 0663 exports.Array.prototype.forEach(function(){}, new Object()); 0664 0665 exports.Array.prototype.indexOf = function (searchElement, fromIndex) { return 1; }; 0666 exports.Array.prototype.indexOf(_mixed, 1); 0667 0668 exports.Array.prototype.join = function (separator) { return ""; }; 0669 exports.Array.prototype.join(""); 0670 0671 exports.Array.prototype.lastIndexOf = function (searchElement, fromIndex) { return 1; }; 0672 exports.Array.prototype.lastIndexOf(_mixed, 1); 0673 0674 exports.Array.prototype.map = function (callbackfn, thisArg) { return []; }; 0675 exports.Array.prototype.map(function(){}, new Object()); 0676 0677 exports.Array.prototype.pop = function () { return _mixed; }; 0678 exports.Array.prototype.pop(); 0679 0680 exports.Array.prototype.push = function (element) { return 1; }; 0681 exports.Array.prototype.push(_mixed); 0682 0683 exports.Array.prototype.reduce = function (callbackfn, initialValue) { return _mixed; }; 0684 exports.Array.prototype.reduce(function(){}, _mixed); 0685 0686 exports.Array.prototype.reduceRight = function (callbackfn, initialValue) { return _mixed; }; 0687 exports.Array.prototype.reduceRight(function(){}, _mixed); 0688 0689 exports.Array.prototype.reverse = function () { return []; }; 0690 exports.Array.prototype.reverse(); 0691 0692 exports.Array.prototype.shift = function () { return _mixed; }; 0693 exports.Array.prototype.shift(); 0694 0695 exports.Array.prototype.slice = function (start, end) { return []; }; 0696 exports.Array.prototype.slice(1, 1); 0697 0698 exports.Array.prototype.some = function (callbackfn, thisArg) { return true; }; 0699 exports.Array.prototype.some(function(){}, new Object()); 0700 0701 exports.Array.prototype.sort = function (comparefn) { return []; }; 0702 exports.Array.prototype.sort(function(){}); 0703 0704 exports.Array.prototype.splice = function (start, deleteCount, items) { return []; }; 0705 exports.Array.prototype.splice(1, 1, _mixed); 0706 0707 exports.Array.prototype.substr = function (start, length) { return ""; }; 0708 exports.Array.prototype.substr(1, 1); 0709 0710 exports.Array.prototype.unshift = function (items) { return 1; }; 0711 exports.Array.prototype.unshift(_mixed); 0712 0713 exports.Array.prototype.values = function () { return {next: function() {}, done: true, value: _mixed}; }; 0714 exports.Array.prototype.values(); 0715 0716 exports.Array.prototype.length = 1; 0717 0718 0719 /* 0720 * exports.Map 0721 */ 0722 function Map(iterable) { return ; } 0723 exports.Map = Map; 0724 0725 exports.Map.prototype.clear = function () { return ; }; 0726 exports.Map.prototype.clear(); 0727 0728 exports.Map.prototype.delete = function (key) { return true; }; 0729 exports.Map.prototype.delete(_mixed); 0730 0731 exports.Map.prototype.entries = function () { return {next: function() {}, done: true, value: _mixed}; }; 0732 exports.Map.prototype.entries(); 0733 0734 exports.Map.prototype.forEach = function (callbackfn, thisArg) { return ; }; 0735 exports.Map.prototype.forEach(function(){}, new Object()); 0736 0737 exports.Map.prototype.get = function (key) { return _mixed; }; 0738 exports.Map.prototype.get(_mixed); 0739 0740 exports.Map.prototype.has = function (key) { return true; }; 0741 exports.Map.prototype.has(_mixed); 0742 0743 exports.Map.prototype.set = function (key, value) { return new Map(); }; 0744 exports.Map.prototype.set(_mixed, _mixed); 0745 0746 exports.Map.prototype.size = 1; 0747 0748 exports.Map.prototype.values = function () { return {next: function() {}, done: true, value: _mixed}; }; 0749 exports.Map.prototype.values(); 0750 0751 0752 /* 0753 * exports.Set 0754 */ 0755 function Set(iterable) { return ; } 0756 exports.Set = Set; 0757 0758 exports.Set.prototype.add = function (value) { return new Set(); }; 0759 exports.Set.prototype.add(_mixed); 0760 0761 exports.Set.prototype.clear = function () { return ; }; 0762 exports.Set.prototype.clear(); 0763 0764 exports.Set.prototype.delete = function (value) { return true; }; 0765 exports.Set.prototype.delete(_mixed); 0766 0767 exports.Set.prototype.entries = function () { return {next: function() {}, done: true, value: _mixed}; }; 0768 exports.Set.prototype.entries(); 0769 0770 exports.Set.prototype.forEach = function (callbackfn, thisArg) { return ; }; 0771 exports.Set.prototype.forEach(function(){}, new Object()); 0772 0773 exports.Set.prototype.has = function (value) { return true; }; 0774 exports.Set.prototype.has(_mixed); 0775 0776 exports.Set.prototype.size = 1; 0777 0778 exports.Set.prototype.values = function () { return {next: function() {}, done: true, value: _mixed}; }; 0779 exports.Set.prototype.values(); 0780 0781 0782 /* 0783 * exports.WeakMap 0784 */ 0785 function WeakMap(iterable) { return ; } 0786 exports.WeakMap = WeakMap; 0787 0788 exports.WeakMap.prototype.clear = function () { return ; }; 0789 exports.WeakMap.prototype.clear(); 0790 0791 exports.WeakMap.prototype.delete = function (key) { return true; }; 0792 exports.WeakMap.prototype.delete(_mixed); 0793 0794 exports.WeakMap.prototype.get = function (key) { return _mixed; }; 0795 exports.WeakMap.prototype.get(_mixed); 0796 0797 exports.WeakMap.prototype.has = function (key) { return true; }; 0798 exports.WeakMap.prototype.has(_mixed); 0799 0800 exports.WeakMap.prototype.set = function (key, value) { return new Map(); }; 0801 exports.WeakMap.prototype.set(_mixed, _mixed); 0802 0803 0804 /* 0805 * exports.WeakSet 0806 */ 0807 function WeakSet(iterable) { return ; } 0808 exports.WeakSet = WeakSet; 0809 0810 exports.WeakSet.prototype.add = function (value) { return new Set(); }; 0811 exports.WeakSet.prototype.add(_mixed); 0812 0813 exports.WeakSet.prototype.clear = function () { return ; }; 0814 exports.WeakSet.prototype.clear(); 0815 0816 exports.WeakSet.prototype.delete = function (value) { return true; }; 0817 exports.WeakSet.prototype.delete(_mixed); 0818 0819 exports.WeakSet.prototype.has = function (value) { return true; }; 0820 exports.WeakSet.prototype.has(_mixed); 0821 0822 0823 /* 0824 * exports.ArrayBuffer 0825 */ 0826 function ArrayBuffer(length) { return ; } 0827 exports.ArrayBuffer = ArrayBuffer; 0828 0829 exports.ArrayBuffer.prototype.isView = function (arg) { return true; }; 0830 exports.ArrayBuffer.prototype.isView(_mixed); 0831 0832 exports.ArrayBuffer.prototype.byteLength = 1; 0833 0834 exports.ArrayBuffer.prototype.slice = function (start, end) { return new ArrayBuffer(); }; 0835 exports.ArrayBuffer.prototype.slice(1, 1); 0836 0837 0838 /* 0839 * exports.DataView 0840 */ 0841 function DataView(buffer, byteOffset, byteLength) { return ; } 0842 exports.DataView = DataView; 0843 0844 exports.DataView.prototype.buffer = new DataView(); 0845 0846 exports.DataView.prototype.byteLength = 1; 0847 0848 exports.DataView.prototype.byteOffset = 1; 0849 0850 exports.DataView.prototype.getFloat32 = function (byteOffset, littleEndian) { return 1.0; }; 0851 exports.DataView.prototype.getFloat32(1, true); 0852 0853 exports.DataView.prototype.getFloat64 = function (byteOffset, littleEndian) { return 1.0; }; 0854 exports.DataView.prototype.getFloat64(1, true); 0855 0856 exports.DataView.prototype.getInt8 = function (byteOffset) { return 1; }; 0857 exports.DataView.prototype.getInt8(1); 0858 0859 exports.DataView.prototype.getInt16 = function (byteOffset, littleEndian) { return 1; }; 0860 exports.DataView.prototype.getInt16(1, true); 0861 0862 exports.DataView.prototype.getInt32 = function (byteOffset, littleEndian) { return 1; }; 0863 exports.DataView.prototype.getInt32(1, true); 0864 0865 exports.DataView.prototype.getUInt8 = function (byteOffset) { return 1; }; 0866 exports.DataView.prototype.getUInt8(1); 0867 0868 exports.DataView.prototype.getUInt16 = function (byteOffset, littleEndian) { return 1; }; 0869 exports.DataView.prototype.getUInt16(1, true); 0870 0871 exports.DataView.prototype.getUInt32 = function (byteOffset, littleEndian) { return 1; }; 0872 exports.DataView.prototype.getUInt32(1, true); 0873 0874 exports.DataView.prototype.setFloat32 = function (byteOffset, value, littleEndian) { return ; }; 0875 exports.DataView.prototype.setFloat32(1, 1.0, true); 0876 0877 exports.DataView.prototype.setFloat64 = function (byteOffset, value, littleEndian) { return ; }; 0878 exports.DataView.prototype.setFloat64(1, 1.0, true); 0879 0880 exports.DataView.prototype.setInt8 = function (byteOffset, value) { return ; }; 0881 exports.DataView.prototype.setInt8(1, 1); 0882 0883 exports.DataView.prototype.setInt16 = function (byteOffset, value, littleEndian) { return ; }; 0884 exports.DataView.prototype.setInt16(1, 1, true); 0885 0886 exports.DataView.prototype.setInt32 = function (byteOffset, value, littleEndian) { return ; }; 0887 exports.DataView.prototype.setInt32(1, 1, true); 0888 0889 exports.DataView.prototype.setUInt8 = function (byteOffset, value) { return ; }; 0890 exports.DataView.prototype.setUInt8(1, 1); 0891 0892 exports.DataView.prototype.setUInt16 = function (byteOffset, value, littleEndian) { return ; }; 0893 exports.DataView.prototype.setUInt16(1, 1, true); 0894 0895 exports.DataView.prototype.setUInt32 = function (byteOffset, value, littleEndian) { return ; }; 0896 exports.DataView.prototype.setUInt32(1, 1, true); 0897 0898 0899 /* 0900 * exports.JSON 0901 */ 0902 exports.JSON = {}; 0903 0904 exports.JSON.parse = function (text, reviver) { return _mixed; }; 0905 exports.JSON.parse("", function(){}); 0906 0907 exports.JSON.stringify = function (value, replacer, space) { return ""; }; 0908 exports.JSON.stringify(_mixed, function(){}, ""); 0909 0910 0911 /* 0912 * exports.Promise 0913 */ 0914 function Promise(executor) { return ; } 0915 exports.Promise = Promise; 0916 0917 exports.Promise.prototype.all = function (iterable) { return ; }; 0918 exports.Promise.prototype.all([]); 0919 0920 exports.Promise.prototype.race = function (iterable) { return ; }; 0921 exports.Promise.prototype.race([]); 0922 0923 exports.Promise.prototype.resolve = function (x) { return new Promise(); }; 0924 exports.Promise.prototype.resolve(_mixed); 0925 0926 exports.Promise.prototype.catch = function (onRejected) { return ; }; 0927 exports.Promise.prototype.catch(function(){}); 0928 0929 exports.Promise.prototype.then = function (onFulfilled, onRejected) { return ; }; 0930 exports.Promise.prototype.then(function(){}, function(){}); 0931 0932 0933 /* 0934 * exports.Reflect 0935 */ 0936 exports.Reflect = {}; 0937 0938 exports.Reflect.apply = function (target, thisArgument, argumentList) { return _mixed; }; 0939 exports.Reflect.apply(function(){}, new Object(), []); 0940 0941 exports.Reflect.construct = function (target, argumentList) { return new Object(); }; 0942 exports.Reflect.construct(function(){}, []); 0943 0944 exports.Reflect.deleteProperty = function (target, propertyKey) { return ; }; 0945 exports.Reflect.deleteProperty(new Object(), ""); 0946 0947 exports.Reflect.enumerate = function (target) { return {next: function() {}, done: true, value: _mixed}; }; 0948 exports.Reflect.enumerate(new Object()); 0949 0950 exports.Reflect.get = function (target, propertyKey, receiver) { return _mixed; }; 0951 exports.Reflect.get(new Object(), "", new Object()); 0952 0953 exports.Reflect.has = function (target, propertyKey) { return true; }; 0954 exports.Reflect.has(new Object(), ""); 0955 0956 exports.Reflect.ownKeys = function (target) { return []; }; 0957 exports.Reflect.ownKeys(new Object()); 0958 0959 exports.Reflect.set = function (target, propertyKey, value, receiver) { return ; }; 0960 exports.Reflect.set(new Object(), "", _mixed, new Object()); 0961 0962 0963 /* 0964 * exports.Int8Array 0965 */ 0966 function Int8Array(length) { return ; } 0967 exports.Int8Array = Int8Array; 0968 exports.Int8Array.prototype = Array; 0969 0970 exports.Int8Array.prototype.buffer = _mixed; 0971 0972 exports.Int8Array.prototype.byteLength = 1; 0973 0974 exports.Int8Array.prototype.byteOffset = 1; 0975 0976 exports.Int8Array.prototype.subarray = function (begin, end) { return []; }; 0977 exports.Int8Array.prototype.subarray(1, 1); 0978 0979 exports.Int8Array.prototype.BYTES_PER_ELEMENT = 1; 0980 0981 0982 /* 0983 * exports.Uint8Array 0984 */ 0985 function Uint8Array(length) { return ; } 0986 exports.Uint8Array = Uint8Array; 0987 exports.Uint8Array.prototype = Array; 0988 0989 exports.Uint8Array.prototype.buffer = _mixed; 0990 0991 exports.Uint8Array.prototype.byteLength = 1; 0992 0993 exports.Uint8Array.prototype.byteOffset = 1; 0994 0995 exports.Uint8Array.prototype.subarray = function (begin, end) { return []; }; 0996 exports.Uint8Array.prototype.subarray(1, 1); 0997 0998 exports.Uint8Array.prototype.BYTES_PER_ELEMENT = 1; 0999 1000 1001 /* 1002 * exports.Uint8ClampedArray 1003 */ 1004 function Uint8ClampedArray(length) { return ; } 1005 exports.Uint8ClampedArray = Uint8ClampedArray; 1006 exports.Uint8ClampedArray.prototype = Array; 1007 1008 exports.Uint8ClampedArray.prototype.buffer = _mixed; 1009 1010 exports.Uint8ClampedArray.prototype.byteLength = 1; 1011 1012 exports.Uint8ClampedArray.prototype.byteOffset = 1; 1013 1014 exports.Uint8ClampedArray.prototype.subarray = function (begin, end) { return []; }; 1015 exports.Uint8ClampedArray.prototype.subarray(1, 1); 1016 1017 exports.Uint8ClampedArray.prototype.BYTES_PER_ELEMENT = 1; 1018 1019 1020 /* 1021 * exports.Int16Array 1022 */ 1023 function Int16Array(length) { return ; } 1024 exports.Int16Array = Int16Array; 1025 exports.Int16Array.prototype = Array; 1026 1027 exports.Int16Array.prototype.buffer = _mixed; 1028 1029 exports.Int16Array.prototype.byteLength = 1; 1030 1031 exports.Int16Array.prototype.byteOffset = 1; 1032 1033 exports.Int16Array.prototype.subarray = function (begin, end) { return []; }; 1034 exports.Int16Array.prototype.subarray(1, 1); 1035 1036 exports.Int16Array.prototype.BYTES_PER_ELEMENT = 1; 1037 1038 1039 /* 1040 * exports.Uint16Array 1041 */ 1042 function Uint16Array(length) { return ; } 1043 exports.Uint16Array = Uint16Array; 1044 exports.Uint16Array.prototype = Array; 1045 1046 exports.Uint16Array.prototype.buffer = _mixed; 1047 1048 exports.Uint16Array.prototype.byteLength = 1; 1049 1050 exports.Uint16Array.prototype.byteOffset = 1; 1051 1052 exports.Uint16Array.prototype.subarray = function (begin, end) { return []; }; 1053 exports.Uint16Array.prototype.subarray(1, 1); 1054 1055 exports.Uint16Array.prototype.BYTES_PER_ELEMENT = 1; 1056 1057 1058 /* 1059 * exports.Int32Array 1060 */ 1061 function Int32Array(length) { return ; } 1062 exports.Int32Array = Int32Array; 1063 exports.Int32Array.prototype = Array; 1064 1065 exports.Int32Array.prototype.buffer = _mixed; 1066 1067 exports.Int32Array.prototype.byteLength = 1; 1068 1069 exports.Int32Array.prototype.byteOffset = 1; 1070 1071 exports.Int32Array.prototype.subarray = function (begin, end) { return []; }; 1072 exports.Int32Array.prototype.subarray(1, 1); 1073 1074 exports.Int32Array.prototype.BYTES_PER_ELEMENT = 1; 1075 1076 1077 /* 1078 * exports.Uint32Array 1079 */ 1080 function Uint32Array(length) { return ; } 1081 exports.Uint32Array = Uint32Array; 1082 exports.Uint32Array.prototype = Array; 1083 1084 exports.Uint32Array.prototype.buffer = _mixed; 1085 1086 exports.Uint32Array.prototype.byteLength = 1; 1087 1088 exports.Uint32Array.prototype.byteOffset = 1; 1089 1090 exports.Uint32Array.prototype.subarray = function (begin, end) { return []; }; 1091 exports.Uint32Array.prototype.subarray(1, 1); 1092 1093 exports.Uint32Array.prototype.BYTES_PER_ELEMENT = 1; 1094 1095 1096 /* 1097 * exports.Float32Array 1098 */ 1099 function Float32Array(length) { return ; } 1100 exports.Float32Array = Float32Array; 1101 exports.Float32Array.prototype = Array; 1102 1103 exports.Float32Array.prototype.buffer = _mixed; 1104 1105 exports.Float32Array.prototype.byteLength = 1; 1106 1107 exports.Float32Array.prototype.byteOffset = 1; 1108 1109 exports.Float32Array.prototype.subarray = function (begin, end) { return []; }; 1110 exports.Float32Array.prototype.subarray(1, 1); 1111 1112 exports.Float32Array.prototype.BYTES_PER_ELEMENT = 1; 1113 1114 1115 /* 1116 * exports.Float64Array 1117 */ 1118 function Float64Array(length) { return ; } 1119 exports.Float64Array = Float64Array; 1120 exports.Float64Array.prototype = Array; 1121 1122 exports.Float64Array.prototype.buffer = _mixed; 1123 1124 exports.Float64Array.prototype.byteLength = 1; 1125 1126 exports.Float64Array.prototype.byteOffset = 1; 1127 1128 exports.Float64Array.prototype.subarray = function (begin, end) { return []; }; 1129 exports.Float64Array.prototype.subarray(1, 1); 1130 1131 exports.Float64Array.prototype.BYTES_PER_ELEMENT = 1; 1132 1133