Last change
on this file since b738035 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
356 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | var _typeof = require("@babel/runtime/helpers/typeof")["default"];
|
---|
| 2 |
|
---|
| 3 | var toPrimitive = require("./toPrimitive.js");
|
---|
| 4 |
|
---|
| 5 | function _toPropertyKey(arg) {
|
---|
| 6 | var key = toPrimitive(arg, "string");
|
---|
| 7 | return _typeof(key) === "symbol" ? key : String(key);
|
---|
| 8 | }
|
---|
| 9 |
|
---|
| 10 | module.exports = _toPropertyKey;
|
---|
| 11 | module.exports["default"] = module.exports, module.exports.__esModule = true; |
---|
Note:
See
TracBrowser
for help on using the repository browser.