Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4824.js (118.4 MB)
52 lines
1.5 KiB
JavaScript
52 lines
1.5 KiB
JavaScript
// Module ID: 4895
|
|
// Function ID: 4896
|
|
// Dependencies: [1315, 4896, 4898, 4899, 4923, 4924, 4911, 4947, 4934, 4948, 4949]
|
|
|
|
// Module 4895
|
|
import callBoundIntrinsic from "callBoundIntrinsic" /* 1315 */;
|
|
import ToObject from "ToObject" /* 4896 */;
|
|
import ToUint32 from "ToUint32" /* 4899 */;
|
|
import ToString from "ToString" /* 4911 */;
|
|
import _mod4923 from "module_4923" /* 4923 */;
|
|
import HasProperty from "HasProperty" /* 4947 */;
|
|
|
|
const ObjectResult = Object("a");
|
|
let tmp2 = "a" !== ObjectResult[0];
|
|
if (!tmp2) {
|
|
tmp2 = !(0 in ObjectResult);
|
|
}
|
|
let closure_2 = tmp2;
|
|
let closure_3 = callBoundIntrinsic("String.prototype.split");
|
|
|
|
export default function map(arg0) {
|
|
const tmp3 = ToObject(this);
|
|
let arr = tmp3;
|
|
if (closure_2) {
|
|
arr = tmp3;
|
|
if (tmp(4898)(tmp3)) {
|
|
arr = closure_3(tmp3, "");
|
|
}
|
|
}
|
|
const tmp5 = ToUint32(arr.length);
|
|
if (_mod4923(arg0)) {
|
|
if (arguments.length > 1) {
|
|
const tmp11 = arguments[1];
|
|
}
|
|
const tmp12 = tmp(4924)(tmp3, tmp5);
|
|
for (let num2 = 0; num2 < tmp5; num2 = num2 + 1) {
|
|
let tmp13 = require;
|
|
let tmp15 = ToString(num2);
|
|
if (HasProperty(tmp3, tmp15)) {
|
|
let tmp17 = tmp13(4934)(tmp3, tmp15);
|
|
let items = [tmp17, num2, tmp3];
|
|
let tmp18 = tmp13(4948)(arg0, tmp11, items);
|
|
let tmp19 = tmp13(4949)(tmp12, tmp15, tmp18);
|
|
}
|
|
}
|
|
return tmp12;
|
|
} else {
|
|
const _TypeError = TypeError;
|
|
const typeError = new TypeError("Array.prototype.map callback must be a function");
|
|
throw typeError;
|
|
}
|
|
};
|