Files
wechatpay-enterprise-web/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
jefferyzhao b9bdc8598b first commit
2025-07-31 17:44:12 +08:00

6 lines
208 B
JavaScript

import _typeof from "./typeof.js";
import toPrimitive from "./toPrimitive.js";
export default function toPropertyKey(t) {
var i = toPrimitive(t, "string");
return "symbol" == _typeof(i) ? i : String(i);
}