decord/source/5580_toPropertyKey.js
2026-08-07 06:50:47 +00:00

15 lines
334 B
JavaScript

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