UNPKG
create-lbgcli1
Version:
latest (1.0.3)
1.0.20
1.0.13
1.0.3
前端脚手架模板
create-lbgcli1
/
template-pc
/
node_modules
/
@babel
/
runtime
/
helpers
/
esm
/
toPropertyKey.js
6 lines
•
240 B
JavaScript
View Raw
1
2
3
4
5
6
import
_typeof
from
"@babel/runtime/helpers/typeof"
;
import
toPrimitive
from
"./toPrimitive.js"
;
export
default
function
_toPropertyKey
(
arg
) {
var
key =
toPrimitive
(arg,
"string"
);
return
_typeof
(key) ===
"symbol"
? key :
String
(key); }