FrontPastel/node_modules/@babel/runtime/helpers/toPropertyKey.js

7 lines
317 B
JavaScript
Raw Normal View History

2024-04-17 13:55:11 +00:00
var _typeof = require("./typeof.js")["default"];
var toPrimitive = require("./toPrimitive.js");
function toPropertyKey(t) {
var i = toPrimitive(t, "string");
return "symbol" == _typeof(i) ? i : i + "";
}
module.exports = toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports;