source:
frontend/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
| Last change on this file was 9af201e, checked in by , 12 days ago | |
|---|---|
|
|
| File size: 227 bytes | |
| Line | |
|---|---|
| 1 | import _typeof from "./typeof.js"; |
| 2 | import toPrimitive from "./toPrimitive.js"; |
| 3 | function toPropertyKey(t) { |
| 4 | var i = toPrimitive(t, "string"); |
| 5 | return "symbol" == _typeof(i) ? i : i + ""; |
| 6 | } |
| 7 | export { toPropertyKey as default }; |
Note:
See TracBrowser
for help on using the repository browser.
