toPropertyKey.js 317 B

1234567
  1. var _typeof = require("./typeof.js")["default"];
  2. var toPrimitive = require("./toPrimitive.js");
  3. function toPropertyKey(t) {
  4. var i = toPrimitive(t, "string");
  5. return "symbol" == _typeof(i) ? i : i + "";
  6. }
  7. module.exports = toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports;