Sign in
webkit
/
WebKit
/
9883cbe1bf60a391ee4a71c6f30047b3cbc9bbbd
/
.
/
JSTests
/
microbenchmarks
/
infer-constant-property.js
blob: 9039d8f2e1fa8270d7b1fdf4183c6314b8b909ff [
file
] [
log
] [
blame
]
var
o
=
{
f
:{
f
:{
f
:{
f
:{
f
:{
f
:{
f
:
42
}}}}}}};
(
function
()
{
var
n
=
1000000
;
var
result
=
0
;
for
(
var
i
=
0
;
i
<
n
;
++
i
)
result
+=
o
.
f
.
f
.
f
.
f
.
f
.
f
.
f
;
if
(
result
!=
n
*
42
)
throw
"Error: bad result: "
+
result
;
})();