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