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