Sign in
webkit
/
WebKit
/
5477927d104775982421a977c5683c552d9374f2
/
.
/
JSTests
/
microbenchmarks
/
object-keys.js
blob: 4b41128b375ccbbb4fcad01f00bbde79021d6d05 [
file
] [
log
] [
blame
]
var
object
=
{};
for
(
var
i
=
0
;
i
<
1e3
;
++
i
)
{
object
[
i
+
'prop'
]
=
i
;
}
function
test
(
object
)
{
return
Object
.
keys
(
object
);
}
noInline
(
test
);
for
(
var
i
=
0
;
i
<
1e3
;
++
i
)
test
(
object
);