2026-07-23 10:11:24 +00:00
|
|
|
// Module ID: 5370
|
2026-07-25 08:10:48 +00:00
|
|
|
// Function ID: 46036
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: toPropertyKey
|
2026-07-23 10:11:24 +00:00
|
|
|
// Dependencies: [5371, 5372]
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-07-23 10:11:24 +00:00
|
|
|
// Module 5370 (toPropertyKey)
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default function toPropertyKey(arg0) {
|
2026-07-23 10:11:24 +00:00
|
|
|
const tmp = require(5371) /* toPrimitive */(arg0, "string");
|
2026-07-20 16:05:17 +00:00
|
|
|
let text = tmp;
|
|
|
|
|
if ("symbol" != obj.default(tmp)) {
|
|
|
|
|
text = `${tmp}`;
|
|
|
|
|
}
|
|
|
|
|
return text;
|
|
|
|
|
};
|