1
0
Fork 0
management/front/dkha-web-sz-main/node_modules/@babel/runtime/helpers/toPropertyKey.js

10 lines
252 B
JavaScript
Raw Normal View History

2023-12-18 13:12:25 +08:00
var _typeof = require("../helpers/typeof");
var toPrimitive = require("./toPrimitive");
function _toPropertyKey(arg) {
var key = toPrimitive(arg, "string");
return _typeof(key) === "symbol" ? key : String(key);
}
module.exports = _toPropertyKey;