decord/source/4611_ToString.js

17 lines
392 B
JavaScript
Raw Normal View History

2026-08-12 06:57:52 +00:00
// Module ID: 4611
// Function ID: 4612
2026-07-29 08:29:29 +00:00
// Name: ToString
// Dependencies: [540, 541]
2026-08-12 06:57:52 +00:00
// Module 4611 (ToString)
2026-07-29 08:29:29 +00:00
let closure_2 = require("getEvalledConstructor")("%String%");
export default function ToString(arg0) {
2026-08-04 21:03:28 +00:00
if (typeof arg0 === "symbol") {
2026-07-29 08:29:29 +00:00
const tmp5 = new require(541)("Cannot convert a Symbol value to a string");
throw tmp5;
} else {
return callback(arg0);
}
};