decord/source/5680_toPropertyKey.js
2026-08-13 07:00:46 +00:00

15 lines
334 B
JavaScript

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