decord/source/5146_toPropertyKey.js

16 lines
319 B
JavaScript
Raw Normal View History

2026-07-21 22:01:30 +00:00
// Module ID: 5146
// Function ID: 43637
2026-07-20 16:05:17 +00:00
// Name: toPropertyKey
// Dependencies: []
2026-07-21 22:01:30 +00:00
// Module 5146 (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;
};