aswi2020vldc-gitlab/templetes/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js @ 3a515b92
1 |
import _typeof from "../../helpers/esm/typeof"; |
---|---|
2 |
import toPrimitive from "./toPrimitive"; |
3 |
export default function _toPropertyKey(arg) { |
4 |
var key = toPrimitive(arg, "string"); |
5 |
return _typeof(key) === "symbol" ? key : String(key); |
6 |
}
|