UNPKG
@honor-minigame/cli
Version:
latest (1.2.6)
1.2.6
1.2.5
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
1.1.5
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
honor minigame pack cli
@honor-minigame/cli
/
weixin
/
wx-unity-babel
/
@babel
/
runtime
/
helpers
/
Objectvalues.js
7 lines
(6 loc)
•
246 B
JavaScript
View Raw
1
2
3
4
5
6
7
Object
.
values
|| (
Object
.
values
=
function
(
e
) {
if
(e !==
Object
(e))
throw
new
TypeError
(
'Object.values called on a non-object'
)
var
t;
var
r = []
for
(t
in
e)
Object
.
prototype
.
hasOwnProperty
.
call
(e, t) && r.
push
(e[t])
return
r })