17 lines
365 B
JavaScript
17 lines
365 B
JavaScript
// Module ID: 7090
|
|
// Function ID: 7091
|
|
// Name: toPropertyKey
|
|
// Dependencies: [7091, 7092]
|
|
|
|
// Module 7090 (toPropertyKey)
|
|
import toPrimitive from "toPrimitive" /* 7091 */;
|
|
|
|
|
|
export default function toPropertyKey(arg0) {
|
|
const tmp = toPrimitive(arg0, "string");
|
|
let text = tmp;
|
|
if ("symbol" != obj.default(tmp)) {
|
|
text = `${tmp}`;
|
|
}
|
|
return text;
|
|
};
|