UNPKG
@yuebai008/cli
Version:
beta (1.30.102)
latest (1.30.100)
1.30.102
1.30.101
1.30.100
Command line interface for rapid qg-minigame development
www.quickapp.cn/openness/quickGame
@yuebai008/cli
/
dist
/
cli-weixin
/
wx-unity-babel
/
@babel
/
runtime
/
helpers
/
toPropertyKey.js
8 lines
(7 loc)
•
226 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
var
_typeof =
require
(
"./typeof"
), toPrimitive =
require
(
"./toPrimitive"
);
function
_toPropertyKey
(
r
) {
var
t =
toPrimitive
(r,
"string"
);
return
"symbol"
===
_typeof
(t) ? t :
String
(t) }
module
.
exports
= _toPropertyKey;