source: trip-planner-front/node_modules/@babel/runtime/helpers/toPropertyKey.js@ ceaed42

Last change on this file since ceaed42 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 356 bytes
Line 
1var _typeof = require("@babel/runtime/helpers/typeof")["default"];
2
3var toPrimitive = require("./toPrimitive.js");
4
5function _toPropertyKey(arg) {
6 var key = toPrimitive(arg, "string");
7 return _typeof(key) === "symbol" ? key : String(key);
8}
9
10module.exports = _toPropertyKey;
11module.exports["default"] = module.exports, module.exports.__esModule = true;
Note: See TracBrowser for help on using the repository browser.