decord/source/5431_toPropertyKey.js
2026-07-31 08:44:05 +00:00

15 lines
334 B
JavaScript

// Module ID: 5431
// Function ID: 5432
// Name: toPropertyKey
// Dependencies: [5432, 5433]
// Module 5431 (toPropertyKey)
export default function toPropertyKey(arg0) {
const tmp = require(5432) /* toPrimitive */(arg0, "string");
let text = tmp;
if ("symbol" != obj.default(tmp)) {
text = `${tmp}`;
}
return text;
};