decord/source/5679_toPropertyKey.js
2026-08-12 06:57:52 +00:00

15 lines
334 B
JavaScript

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