1 | var _typeof = require("../helpers/typeof");
|
2 |
|
3 | var toPrimitive = require("./toPrimitive");
|
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; |
\ | No newline at end of file |