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