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

main
Last change on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago

Update repo after prototype presentation

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