source: node_modules/@babel/runtime/helpers/esm/toPropertyKey.js

main
Last change on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 208 bytes
RevLine 
[d24f17c]1import _typeof from "./typeof.js";
2import toPrimitive from "./toPrimitive.js";
3export default function toPropertyKey(t) {
4 var i = toPrimitive(t, "string");
5 return "symbol" == _typeof(i) ? i : String(i);
6}
Note: See TracBrowser for help on using the repository browser.