14 lines
344 B
JavaScript
14 lines
344 B
JavaScript
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.default = toPropertyKey;
|
|
var _toPrimitive = require("./toPrimitive.js");
|
|
function toPropertyKey(arg) {
|
|
var key = (0, _toPrimitive.default)(arg, "string");
|
|
return typeof key === "symbol" ? key : String(key);
|
|
}
|
|
|
|
//# sourceMappingURL=toPropertyKey.js.map
|