Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4759.js (118.4 MB)
40 lines
816 B
JavaScript
40 lines
816 B
JavaScript
// Module ID: 627
|
|
// Function ID: 628
|
|
// Dependencies: [523, 514, 628, 553]
|
|
|
|
// Module 627
|
|
import _mod514 from "module_514" /* 514 */;
|
|
import _mod523 from "module_523" /* 523 */;
|
|
|
|
let prototype;
|
|
if (_mod523) {
|
|
prototype = _mod523.prototype;
|
|
}
|
|
let toString;
|
|
if (prototype) {
|
|
toString = prototype.toString;
|
|
}
|
|
function baseToString(str) {
|
|
if (typeof str === "string") {
|
|
return str;
|
|
} else if (_mod514(str)) {
|
|
return "" + tmp5(628)(str, baseToString);
|
|
} else if (tmp5(553)(str)) {
|
|
if (!toString) {
|
|
return "";
|
|
} else {
|
|
const call = tmp2.call;
|
|
typeof call === "unknown" ? tmp2() : call(str);
|
|
}
|
|
} else {
|
|
const text = `${str}`;
|
|
if ("0" !== `${str}`) {
|
|
let str2 = text;
|
|
} else {
|
|
str2 = "-0";
|
|
}
|
|
return str2;
|
|
}
|
|
}
|
|
|
|
export default baseToString;
|