decord/source/5147_toPropertyKey.js

16 lines
319 B
JavaScript
Raw Normal View History

2026-07-21 06:55:02 +00:00
// Module ID: 5147
// Function ID: 43630
2026-07-20 16:05:17 +00:00
// Name: toPropertyKey
// Dependencies: []
2026-07-21 06:55:02 +00:00
// Module 5147 (toPropertyKey)
2026-07-20 16:05:17 +00:00
export default function toPropertyKey(arg0) {
const tmp = require(dependencyMap[0])(arg0, "string");
let text = tmp;
if ("symbol" != obj.default(tmp)) {
text = `${tmp}`;
}
return text;
};