UNPKG
@quick-game/cli
Version:
beta (1.6.1)
latest (1.6.4)
1.6.4
1.6.3
1.6.2
1.6.1
1.6.0
1.5.0
1.4.7
1.4.6
1.4.5
1.4.4
1.4.3
1.4.2
1.4.1
1.4.0
1.3.5
1.3.4
1.3.3
1.3.2
1.3.1
1.3.0
1.2.14
1.2.13
1.2.12
1.2.11
1.2.9
1.2.8
1.2.7
1.2.6
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
1.1.3
1.1.2
1.1.1
1.1.0
1.0.122
1.0.121
1.0.120
1.0.119
1.0.117
1.0.116
1.0.115
1.0.114
1.0.113
1.0.112
1.0.111
1.0.110
1.0.109
1.0.108
1.0.107
1.0.106
1.0.105
1.0.104
1.0.103
1.0.102
1.0.101
Command line interface for rapid qg development
www.quickapp.cn/openness/quickGame
@quick-game/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;