forked from zhurui/management
7 lines
320 B
JavaScript
7 lines
320 B
JavaScript
var _typeof = require("./typeof.js")["default"];
|
|
var toPrimitive = require("./toPrimitive.js");
|
|
function toPropertyKey(t) {
|
|
var i = toPrimitive(t, "string");
|
|
return "symbol" == _typeof(i) ? i : String(i);
|
|
}
|
|
module.exports = toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports; |