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