Sign in
webkit
/
WebKit
/
293423b2e3bc99a3b6b08c9e39c59d8eb89f00e1
/
.
/
JSTests
/
microbenchmarks
/
for-in-on-object-with-lazily-materialized-properties.js
blob: be0511a4372047526d934e927dc40fcbb0341a36 [
file
] [
log
] [
blame
]
function
foo
(
o
)
{
var
count
=
0
;
for
(
var
p in o
)
{
if
(
o
[
p
])
count
++;
}
return
count
;
}
noInline
(
foo
);
var
total
=
0
;
for
(
let j
=
0
;
j
<
100000
;
++
j
)
total
+=
foo
(
new
Error
);