Sign in
webkit
/
WebKit
/
7d815df5a5eb5a0a67d72260d5639681d50d7f66
/
.
/
JSTests
/
microbenchmarks
/
object-get-own-property-symbols.js
blob: 8c56acb3dc9afc1c683142a6c058469e39d6c110 [
file
] [
log
] [
blame
]
var
object
=
{};
for
(
var
i
=
0
;
i
<
1e3
;
++
i
)
{
object
[
Symbol
(
i
+
'prop'
)]
=
i
;
}
function
test
(
object
)
{
return
Object
.
getOwnPropertySymbols
(
object
);
}
noInline
(
test
);
for
(
var
i
=
0
;
i
<
1e3
;
++
i
)
test
(
object
);