Sign in
webkit
/
WebKit
/
5ee98c8883ab121686764809a2752a0eb41e4c7c
/
.
/
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
);