Sign in
webkit
/
WebKit
/
d9f4aeb0c9628407e7f02d9ddeb9bc793e57d330
/
.
/
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
;
})();