2026-07-29 08:29:29 +00:00
|
|
|
// Module ID: 43
|
|
|
|
|
// Function ID: 44
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: toPropertyKey
|
2026-07-29 08:29:29 +00:00
|
|
|
// Dependencies: [44, 45]
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-07-29 08:29:29 +00:00
|
|
|
// Module 43 (toPropertyKey)
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default function toPropertyKey(arg0) {
|
2026-07-29 08:29:29 +00:00
|
|
|
const tmp = require(44) /* toPrimitive */(arg0, "string");
|
2026-07-20 16:05:17 +00:00
|
|
|
let text = tmp;
|
|
|
|
|
if ("symbol" != obj.default(tmp)) {
|
|
|
|
|
text = `${tmp}`;
|
|
|
|
|
}
|
|
|
|
|
return text;
|
|
|
|
|
};
|